36 #include "CellPropertyCollection.hpp"
39 : mpCellPropertyRegistry(NULL)
65 EXCEPTION(
"That property object is already in the collection.");
80 EXCEPTION(
"Collection does not contain the given property.");
111 EXCEPTION(
"Can only call GetProperty on a collection of size 1.");
CollectionType::iterator IteratorType
CollectionType mProperties
CollectionType::iterator Iterator
boost::shared_ptr< AbstractCellProperty > GetProperty() const
#define EXCEPTION(message)
CellPropertyRegistry * mpCellPropertyRegistry
static CellPropertyRegistry * Instance()
void SetCellPropertyRegistry(CellPropertyRegistry *pRegistry)
void AddProperty(const boost::shared_ptr< AbstractCellProperty > &rProp)
CellPropertyRegistry * GetCellPropertyRegistry()