![]() |
VR-Forces 4.7 Class Documentation
|
The DtDePathConfiguration contains paths to various files, and can resolve the path macros , , and within paths. More...

Public Member Functions | |
| DtDePathConfiguration (const std::string &name="") | |
| CTOR. | |
| DtDePathConfiguration (const DtDePathConfiguration &) | |
| Copy CTOR. | |
| DtDePathConfiguration & | operator= (const DtDePathConfiguration &) |
| Assignment OP. | |
| virtual | ~DtDePathConfiguration () |
| DTOR. | |
| virtual std::string | resolvePath (const std::string &directory) const |
| Resolve a directory by replacing , , variables with the appropriate values. | |
| virtual DtUnicode | resolvePath (const DtUnicode &directory) const |
| Resolve a directory by replacing , , variables with the appropriate values. | |
| virtual std::string | markupPath (const std::string &directory) const |
| Mark up a directory by replacing directories with , , variables. | |
| virtual DtUnicode | markupPath (const DtUnicode &directory) const |
| Mark up a directory by replacing directories with , , variables. | |
| virtual std::string | appPath () const |
| Accessors to resolved paths. | |
| virtual std::string | backupsPath () const |
| Get the directory to the backup path. | |
| virtual std::string | userPath () const |
| Get the user directory. | |
| virtual std::string | userEntityElementDefinitionPath () const |
| Get the user directory which has element definitions This can be the same directory as other userData definitions The user directory can be referenced in other directories using The macro string "$(USER_ENTITY_ELEMENT_DEFINITION_DIR)". | |
| virtual std::string | factoryPath () const |
| virtual std::string | factoryRootPath () const |
| virtual std::string | dataPath () const |
| virtual std::string | schemaPath () const |
| Get the schema directory that model definitions are loaded from at start up. | |
| virtual std::string | modelDefinitionPath () const |
| Set the Model directory that model definitions are loaded from at start up. | |
| virtual std::string | settingsPath () const |
| Set the config directory that config files are loaded from at start up. | |
| virtual std::string | driverPath () const |
| virtual std::string | videoStreamPath () const |
| virtual std::string | cachePath () const |
| virtual std::string | terrainPath () const |
| virtual std::string | scenePath () const |
| virtual void | setAppPath (const std::string &path) |
| Setters. | |
| virtual void | setBackupsPath (const std::string &path) |
| virtual void | setUserPath (const std::string &path) |
| virtual void | setUserEntityElementDefinitionPath (const std::string &path) |
| virtual void | setFactoryPath (const std::string &path) |
| virtual void | setFactoryRootPath (const std::string &path) |
| virtual void | setDataPath (const std::string &path) |
| virtual void | setSchemaPath (const std::string &path) |
| virtual void | setModelDefinitionPath (const std::string &path) |
| virtual void | setSettingsPath (const std::string &path) |
| virtual void | setDriverPath (const std::string &path) |
| virtual void | setVideoStreamPath (const std::string &path) |
| virtual void | setCachePath (const std::string &path) |
| virtual void | setTerrainPath (const std::string &path) |
| virtual void | setScenePath (const std::string &path) |
Public Member Functions inherited from makVrv::DtConfiguration | |
| DtConfiguration (const std::string &name="") | |
| CTOR. | |
| DtConfiguration (const DtConfiguration &) | |
| Copy CTOR. | |
| DtConfiguration & | operator= (const DtConfiguration &) |
| Assignment OP. | |
| virtual | ~DtConfiguration () |
| DTOR. | |
| virtual const std::string & | name () const |
| Get the configuration name. | |
| virtual void | setName (const std::string &name) |
| Set the configuration name. | |
| virtual const std::string * | findOptionalParameter (const std::string &name) const |
| Find an optional parameters. | |
| virtual void | setOptionalParameter (const std::string &name, const std::string &value) |
| Set an optional parameter. | |
| virtual void | setOptionalParameters (const ParameterMap &) |
| Set an optional parameters. | |
| virtual void | removeOptionalParameter (const std::string &name) |
| Remove an optional parameter. | |
| const ParameterMap & | optionalParameters () const |
| Get the optional parameters. | |
Protected Member Functions | |
| virtual void | replaceAll (std::string &searchText, const std::string &stringToFind, const std::string &stringToReplace) const |
| Replace all instances of stringToFind with stringToReplace in searchText. | |
| virtual void | replaceAll (DtUnicode &searchText, const DtUnicode &stringToFind, const DtUnicode &stringToReplace) const |
| Replace all instances of stringToFind with stringToReplace in searchText. | |
| virtual void | replaceEnvironmentVariables (std::string &searchText) const |
| virtual void | replaceEnvironmentVariables (DtUnicode &searchText) const |
Protected Member Functions inherited from makVrv::DtConfiguration | |
| template<class Archive > | |
| void | _serialize (Archive &ar, const unsigned int version) |
| Declare serialize functions Call via serialize(Archive ar, unsigned int version); Where Archive can be any of : xml_oarchive,xml_iarchive,binary_oarchive binary_iarchive,text_oarchive, or text_iarchive example: fstream fo("test.xml",std;:ios_base::out); xml_oarchive os(fo); DtConfiguration aConfig; aConfig.serialize(os,0);. | |
Protected Attributes | |
| std::string | myAppPath |
| Members. | |
| std::string | myBackupsPath |
| std::string | myUserPath |
| std::string | myUserEntityElementDefinitionPath |
| std::string | myFactoryPath |
| std::string | myFactoryRootPath |
| std::string | myDataPath |
| std::string | mySchemaPath |
| std::string | myModelDefinitionPath |
| std::string | mySettingsPath |
| std::string | myDriverPath |
| std::string | myVideoStreamPath |
| std::string | myCachePath |
| std::string | myTerrainPath |
| std::string | myScenePath |
| std::map< std::string, std::string > | myEnvironmentVariables |
Protected Attributes inherited from makVrv::DtConfiguration | |
| std::string | myName |
| ParameterMap | myOptionalParameters |
| DtProxyWP | myAttachedInterface |
Additional Inherited Members | |
Public Types inherited from makVrv::DtConfiguration | |
| typedef std::map< std::string, std::string > | ParameterMap |
The DtDePathConfiguration contains paths to various files, and can resolve the path macros , , and within paths.
| makVrv::DtDePathConfiguration::DtDePathConfiguration | ( | const std::string & | name = "" | ) |
CTOR.
| makVrv::DtDePathConfiguration::DtDePathConfiguration | ( | const DtDePathConfiguration & | ) |
Copy CTOR.
|
virtual |
DTOR.
| DtDePathConfiguration& makVrv::DtDePathConfiguration::operator= | ( | const DtDePathConfiguration & | ) |
Assignment OP.
|
virtual |
Resolve a directory by replacing , , variables with the appropriate values.
|
virtual |
Resolve a directory by replacing , , variables with the appropriate values.
|
virtual |
Mark up a directory by replacing directories with , , variables.
|
virtual |
Mark up a directory by replacing directories with , , variables.
|
virtual |
Accessors to resolved paths.
Get the application directory. The application directory can be referenced in other directories using The macro string "$(APP_DIR)".
|
virtual |
Get the directory to the backup path.
The backup path is where all record backups are placed
|
virtual |
Get the user directory.
The user directory can be referenced in other directories using The macro string "$(USER_DIR)".
|
virtual |
Get the user directory which has element definitions This can be the same directory as other userData definitions The user directory can be referenced in other directories using The macro string "$(USER_ENTITY_ELEMENT_DEFINITION_DIR)".
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Get the schema directory that model definitions are loaded from at start up.
This will replace any macros strings with their actual values.
|
virtual |
Set the Model directory that model definitions are loaded from at start up.
|
virtual |
Set the config directory that config files are loaded from at start up.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Setters.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
protectedvirtual |
Replace all instances of stringToFind with stringToReplace in searchText.
|
protectedvirtual |
Replace all instances of stringToFind with stringToReplace in searchText.
|
protectedvirtual |
|
protectedvirtual |
|
protected |
Members.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |