36#include "CellPropertyCollection.hpp"
39 : mpCellPropertyRegistry(nullptr)
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.");
#define EXCEPTION(message)
boost::shared_ptr< AbstractCellProperty > GetProperty() const
CollectionType::iterator Iterator
CollectionType::iterator IteratorType
CollectionType mProperties
CellPropertyRegistry * mpCellPropertyRegistry
void AddProperty(const boost::shared_ptr< AbstractCellProperty > &rProp)
void SetCellPropertyRegistry(CellPropertyRegistry *pRegistry)
CellPropertyRegistry * GetCellPropertyRegistry()
static CellPropertyRegistry * Instance()