properties Class Reference

#include <props.hh>

List of all members.

Public Types

typedef std::map< std::string,
property_base *(*)()> 
registered_property_map_t
typedef std::pair< pattern *,
const property_base * > 
pat_prop_pair_t
typedef std::multimap< nset_t::iterator,
pat_prop_pair_t, nset_it_less
property_map_t
typedef std::multimap< const
property_base *, pattern * > 
pattern_map_t

Static Public Member Functions

static void register_property (property_base *(*)())
static void register_properties ()
static void insert_prop (exptree::iterator, const property *)
static void insert_list_prop (const std::vector< exptree::iterator > &, const list_property *)
static void clear ()
template<class T>
static const T * get (exptree::iterator)
template<class T>
static const T * get (nset_t::iterator)
template<class T>
static const T * get ()
template<class T>
static const T * get_composite (exptree::iterator)
template<class T>
static const T * get_composite (exptree::iterator, int &serialnum, bool doserial=true)
template<class T>
static const T * get_composite (exptree::iterator, const std::string &label)
template<class T>
static const T * get_composite (exptree::iterator, int &serialnum, const std::string &label, bool doserial=true)
static bool has (const property_base *, exptree::iterator)

Static Public Attributes

static registered_property_map_t registered_properties
static property_map_t props
static pattern_map_t pats


Member Typedef Documentation

typedef std::pair<pattern *, const property_base *> properties::pat_prop_pair_t
 

typedef std::multimap<const property_base *, pattern *> properties::pattern_map_t
 

typedef std::multimap<nset_t::iterator, pat_prop_pair_t, nset_it_less> properties::property_map_t
 

typedef std::map<std::string, property_base* (*)()> properties::registered_property_map_t
 


Member Function Documentation

static void properties::clear  )  [static]
 

template<class T>
static const T* properties::get  )  [static]
 

template<class T>
static const T* properties::get nset_t::iterator   )  [static]
 

template<class T>
static const T* properties::get exptree::iterator   )  [static]
 

template<class T>
static const T* properties::get_composite exptree::iterator  ,
int &  serialnum,
const std::string &  label,
bool  doserial = true
[static]
 

template<class T>
static const T* properties::get_composite exptree::iterator  ,
const std::string &  label
[static]
 

template<class T>
static const T* properties::get_composite exptree::iterator  ,
int &  serialnum,
bool  doserial = true
[static]
 

template<class T>
static const T* properties::get_composite exptree::iterator   )  [static]
 

static bool properties::has const property_base ,
exptree::iterator 
[static]
 

static void properties::insert_list_prop const std::vector< exptree::iterator > &  ,
const list_property
[static]
 

static void properties::insert_prop exptree::iterator  ,
const property
[static]
 

static void properties::register_properties  )  [static]
 

static void properties::register_property property_base (*)()  )  [static]
 


Member Data Documentation

pattern_map_t properties::pats [static]
 

property_map_t properties::props [static]
 

The following two maps own the pointers to the properties and patterns stored in them; use clear() to clean up. Note that pointers can sit in in more than one entry in this map (when they are pointing to list_property objects, which are shared between patterns).

registered_property_map_t properties::registered_properties [static]
 


The documentation for this class was generated from the following file:
Generated on Sat Jul 18 23:03:17 2009 for cadabra by  doxygen 1.4.6