Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

PropertyBag Class Reference

#include <PropertyBag.h>

Inheritance diagram for PropertyBag:

RegPropertyBag VolatilePropertyBag List of all members.

Public Member Functions

 PropertyBag (const std::string &name)
 PropertyBag (const PropertyBag &other)
virtual ~PropertyBag ()=0
virtual void save ()
Propertyoperator[] (const std::string idx) throw (std::exception)
const Propertyoperator[] (const std::string idx) const throw (std::exception)
PropertyaddProperty (Property *newProp)
void operator= (const PropertyBag &other)
void merge (const PropertyBag &other)

Protected Types

typedef std::map< std::string,
Property * > 
PropMap

Protected Member Functions

virtual Propertystore (Property &prop)=0
virtual Propertyload (Property &prop)=0 throw (std::exception)
void destroy ()

Protected Attributes

PropMap m_props
std::string m_name

Member Typedef Documentation

typedef std::map<std::string,Property*> PropertyBag::PropMap [protected]
 


Constructor & Destructor Documentation

PropertyBag::PropertyBag const std::string &  name  ) 
 

PropertyBag::PropertyBag const PropertyBag other  ) 
 

PropertyBag::~PropertyBag  )  [pure virtual]
 


Member Function Documentation

Property & PropertyBag::addProperty Property newProp  ) 
 

void PropertyBag::destroy  )  [protected]
 

virtual Property* PropertyBag::load Property prop  )  throw (std::exception) [protected, pure virtual]
 

Implemented in RegPropertyBag, and VolatilePropertyBag.

void PropertyBag::merge const PropertyBag other  ) 
 

void PropertyBag::operator= const PropertyBag other  ) 
 

const Property & PropertyBag::operator[] const std::string  idx  )  const throw (std::exception)
 

Property & PropertyBag::operator[] const std::string  idx  )  throw (std::exception)
 

void PropertyBag::save  )  [virtual]
 

virtual Property* PropertyBag::store Property prop  )  [protected, pure virtual]
 

Implemented in RegPropertyBag, and VolatilePropertyBag.


Member Data Documentation

std::string PropertyBag::m_name [protected]
 

PropMap PropertyBag::m_props [protected]
 


The documentation for this class was generated from the following files:
Generated on Thu Jun 16 00:13:25 2005 for Abuse! by  doxygen 1.4.3