26 #ifndef _CACCESSORFACTORYCONTAINER 27 #define _CACCESSORFACTORYCONTAINER 28 #include "libMRML/include/uses-declarations.h" 31 #include "libMRML/include/CSelfDestroyPointer.h" 49 class CContentElement{
54 int mOpenCloseCounter;
This is a common abstract base class for all specialised CAccessorFactories.
Definition: CAccessorFactory.h:42
CAccessor * openAccessor(string inName, const CXMLElement &inCollectionElement)
opening an accessor: if the accessor is already constructed, then simply give the pointer...
This class captures the structure of an XML element.
Definition: CXMLElement.h:51
void configure(CXMLElement *inConfigurationData)
configure this
map< string, CContentElement > CContent
Typedef: The content is a map of string to content element In this map is noted, which accessors are ...
Definition: CAccessorFactoryContainer.h:62
CAccessorFactoryContainer()
construct this.
void registerFactory(CAccessorFactory *inFactory, string inName)
adding a factory to the content
~CAccessorFactoryContainer()
The destructor destroys the CContentElements properly.
CAccessor - an abstract base class for everything accessing a GIFT database.
Definition: CAccessor.h:55
This is destined to hold a number of CAccessorFactories.
Definition: CAccessorFactoryContainer.h:44
bool isPresentFactory(string inName) const
Is a given factory present in the factory? Useful for building in order to avoid double registration ...
CContent mContent
the content
Definition: CAccessorFactoryContainer.h:65
void closeAccessor(string inName)
closing an accessor.