26 #ifndef _CACCESSORCOLLECTION
27 #define _CACCESSORCOLLECTION
28 #include "libMRML/include/uses-declarations.h"
30 #include "libMRML/include/CAccessorAdmin.h"
49 class CContent:
public map<string,CAccessorAdmin*>{
68 CContent::const_iterator
begin()
const;
70 CContent::const_iterator
end()
const;
100 string toXML(
bool isPrivate=
false)
const;
CSelfDestroyPointer< CAccessorFactoryContainer > mFactory
The accessor factory container: Turn a name into an accessor.
Definition: CAccessorAdminCollection.h:65
CXMLElement * toXMLElement() const
The content of this as an CXMLElement.
const CXMLElement * getQueryParadimList(string inID) const
get a collection configuration element by its ID
This class captures the structure of an XML element.
Definition: CXMLElement.h:51
void startCollectionConstruction(CXMLElement *inRoot)
set the element
CContent::const_iterator begin() const
for reading all accessors
const CXMLElement * getCollectionElement(string inID) const
get a collection configuration element by its ID
CAccessorAdmin & getProxy(const string &inID)
get a proxy for a given collectionID if this collection is unknown, give back the first collection in...
CXMLElement * getCollectionInConstruction()
get the XMLElement in construction
CAccessorAdmin: The goal of this is to make it possible to have a list containing accessors to all po...
Definition: CAccessorAdmin.h:45
This is in fact a collection of collections.
Definition: CAccessorAdminCollection.h:39
this is mainly a map from string to accessor proxy we would like to destroy this in a decent way ...
Definition: CAccessorAdminCollection.h:49
CContent::const_iterator const_iterator
for easier read access from the outside
Definition: CAccessorAdminCollection.h:61
void addCollection(CXMLElement *inCollectionElement)
add an accessor to a collection to our list of proxies.
CAccessorAdminCollection(string inFileName)
The Accessor collection gets its configuration out of the same file as the CSessionManager.
string toXML(bool isPrivate=false) const
some tags plus our content
string getDefaultAccessorID() const
simply take the first.
CAccessorAdmin & getCurrentProxy()
get the proxy on which is presently worked on
CContent::const_iterator end() const
for reading all accessors