This class extends the component system database to add a bit more information that the simulation object editor needs.
More...
|
| | DtSimulationObjectEditorComponentSystemDatabase () |
| |
| virtual | ~DtSimulationObjectEditorComponentSystemDatabase () |
| |
| virtual bool | loadSystemDefinition (const DtFilename &definitionFilename, const DtVariableBindingsList &variableBindings, DtSimulationModelSet *sms, bool inMasterSMS, const DtReaderWriter::SearchPaths &searchPaths=DtReaderWriter::SearchPaths()) |
| | Loads the system definition specified, and adds the system to the database. More...
|
| |
| virtual bool | isInMasterSMS (const DtFilename &definitionFilename) const |
| | Returns true if the given system is in the master SMS. More...
|
| |
| virtual bool | isInMasterSMS (const DtComponentSystemDefinition *) const |
| |
| virtual void | setIsInMasterSMS (const DtComponentSystemDefinition *def, bool b) |
| |
| virtual void | setIsInMasterSMS (const DtFilename &definitionFilename, bool b) |
| |
| virtual bool | isDeleted (const DtFilename &definitionFilename) const |
| | Returns true if the given system has been scheduled for deletion. More...
|
| |
| virtual bool | isDeleted (const DtComponentSystemDefinition *) const |
| |
| virtual void | setIsNew (const DtComponentSystemDefinition *def, bool) |
| | Returns true if the given system has been newly created and not yet saved. More...
|
| |
| virtual void | setIsNew (const DtFilename &, bool) |
| |
| virtual bool | isNew (const DtFilename &definitionFilename) const |
| |
| virtual bool | isNew (const DtComponentSystemDefinition *) const |
| |
| virtual void | changeSystemFilename (const DtFilename &oldFilename, const DtFilename &newFilename) |
| | Changes the filename for the given system to the new filename. More...
|
| |
| virtual bool | removeSystem (const DtFilename &definitionFilename) |
| | Removes the specified system from the database. More...
|
| |
| virtual DtSimulationModelSet * | simulationModelSetFor (const DtFilename &definitionFilename) const |
| | Returns the simulation model set the system is in. More...
|
| |
| virtual DtSimulationModelSet * | simulationModelSetFor (const DtComponentSystemDefinition *) const |
| |
| virtual void | setSimulationModelSet (const DtComponentSystemDefinition *def, DtSimulationModelSet *) |
| |
| virtual void | setSimulationModelSet (const DtFilename &, DtSimulationModelSet *) |
| |
| virtual bool | saveSystem (const DtFilename &systemFile) |
| | Saves the system that is represented by the given filename. More...
|
| |
| virtual void | setDeleted (const DtComponentSystemDefinition *def, bool) |
| | Sets whether or not this system is deleted. More...
|
| |
| virtual void | setDeleted (const DtFilename &, bool) |
| |
| virtual DtVariableBindingsList & | variableBindingsFor (const DtComponentSystemDefinition *) |
| |
virtual const
DtVariableBindingsList & | variableBindingsFor (const DtComponentSystemDefinition *) const |
| |
virtual std::map< DtString,
DtString > | variableSubstitutionsFor (const DtComponentSystemDefinition *) const |
| |
| virtual DtVariableBindingsList & | variableBindingsFor (const DtFilename &) |
| |
virtual const
DtVariableBindingsList & | variableBindingsFor (const DtFilename &) const |
| |
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
DtComponentSystemDefinition * | addSystem (const DtString &, const DtFilename &) |
| | Creates a new blank system with the given name and returns the newly created definition. More...
|
| |
| virtual void | resetVariableBindings (const DtComponentSystemDefinition *) |
| | Resets the variable bindings based on the given system definition. More...
|
| |
| virtual void | resetVariableBindings (const DtFilename &) |
| |
| virtual bool | anyNew () const |
| |
| virtual bool | anyDeleted () const |
| |
| | 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 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 bool | saveSystem (const DtComponentSystemDefinition *) |
| | Save the given system descriptor the filename that is associated with it. 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...
|
| |
This class extends the component system database to add a bit more information that the simulation object editor needs.