![]() |
VR-Forces 4.10 Class Documentation
|
This class maintains a database of a set of DtComponentSystemDefinition instances. More...

Public Member Functions | |
| DtComponentSystemDatabase () | |
| virtual | ~DtComponentSystemDatabase () |
| virtual bool | loadSystemDefinition (const DtFilename &definitionFilename, const DtVariableBindingsList &variableBindings, const DtReaderWriter::SearchPaths &searchPaths=DtReaderWriter::SearchPaths()) |
| Loads the system definition specified, and adds the system to the database. More... | |
| virtual void | changeSystemFilename (const DtFilename &oldFilename, const DtFilename &newFilename) |
| Changes the filename for the given system to the new filename. More... | |
| virtual DtSystemDefinitionInfoList | findSystemsForCategoryAndSRType (const DtString &category, const DtString &stateRepType) const |
| virtual const DtComponentSystemDefinition * | findSystemByFilename (const DtFilename &filename) const |
| virtual DtComponentSystemDefinition * | findSystemByFilename (const DtFilename &filename) |
| virtual const DtComponentSystemDefinition * | findSystemBySystemName (const DtString &systemName) const |
| virtual DtComponentSystemDefinition * | findSystemBySystemName (const DtString &systemName) |
| virtual bool | replaceSystem (const DtFilename &definitionFilename, const DtVariableBindingsList &variableBindings) |
| Replaces the system specified by the filename in the list. More... | |
| virtual DtComponentSystemDefinition * | addSystem (const DtFilename &, const DtComponentSystemDefinition &) |
| Adds the system given the filename and component definition, which will be cloned and then taken control of by this database. More... | |
| virtual bool | saveSystem (const DtFilename &) |
| Saves the system that is represented by the given filename. More... | |
| virtual bool | saveSystem (const DtComponentSystemDefinition *) |
| Save the given system descriptor the filename that is associated with it. More... | |
| virtual bool | removeSystem (const DtFilename &definitionFilename) |
| Removes the specified system from the database. More... | |
| virtual bool | removeSystem (const DtComponentSystemDefinition *systemDefinition) |
| Removes the specified system from the database. More... | |
| virtual void | findAllVariableBindings (DtVariableBindingsList &list, const DtReaderWriter *rw) const |
| Returns all the "varible-bindings" sections in the supplied list. More... | |
| virtual bool | operator== (const DtComponentSystemDatabase &) const |
| virtual bool | operator!= (const DtComponentSystemDatabase &rhs) const |
| const DtSystemDefinitionMap & | systemDefinitions () const |
| DtSystemDefinitionMap & | systemDefinitions () |
| This class owns the pointers to the system definitions so do not hold onto pointers. Use this for modification only. More... | |
| virtual DtFilename | systemFilename (const DtComponentSystemDefinition *) const |
| Returns the filename for the given component definition. More... | |
Protected Attributes | |
| DtSystemDefinitionMap | mySystemDefinitions |
Private Member Functions | |
| DtComponentSystemDatabase (const DtComponentSystemDatabase &orig) | |
| Not implemented. More... | |
| DtComponentSystemDatabase & | operator= (const DtComponentSystemDatabase &orig) |
This class maintains a database of a set of DtComponentSystemDefinition instances.
This is intended for use by things such as the Entity Editor which needs to load up all the system definitions available, and then find the appropriate ones for particular queries.
|
private |
Not implemented.
| DtComponentSystemDatabase::DtComponentSystemDatabase | ( | ) |
|
virtual |
|
private |
|
virtual |
Loads the system definition specified, and adds the system to the database.
|
virtual |
Changes the filename for the given system to the new filename.
Reimplemented in DtSimulationObjectEditorComponentSystemDatabase.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Replaces the system specified by the filename in the list.
If the filename does not exist in the list, it will load it
|
virtual |
Adds the system given the filename and component definition, which will be cloned and then taken control of by this database.
The new member is returned. If the system exists will remove old system
Reimplemented in DtSimulationObjectEditorComponentSystemDatabase.
|
virtual |
Saves the system that is represented by the given filename.
Reimplemented in DtSimulationObjectEditorComponentSystemDatabase.
|
virtual |
Save the given system descriptor the filename that is associated with it.
|
virtual |
Removes the specified system from the database.
Reimplemented in DtSimulationObjectEditorComponentSystemDatabase.
|
virtual |
Removes the specified system from the database.
|
virtual |
Returns all the "varible-bindings" sections in the supplied list.
The list will be appended to, so, clear it if you want to remove any existing bindings before passing in
|
virtual |
|
inlinevirtual |
|
inline |
|
inline |
This class owns the pointers to the system definitions so do not hold onto pointers. Use this for modification only.
|
virtual |
Returns the filename for the given component definition.
|
protected |