![]() |
VR-Forces 4.7 Class Documentation
|
Singleton for resolving path variables (DATA_DIR, USER_DIR, etc) More...
Public Member Functions | |
| void | setDataPath (const DtFilename &dataPath) |
| void | setAppDataPath (const DtFilename &appDataPath) |
| void | setUserDataPath (const DtFilename &userDataPath) |
| DtFilename | dataPath () |
| DtFilename | appDataPath () |
| DtFilename | userDataPath () |
| void | setAdditionalModelDefinitionPaths (const std::vector< DtFilename > &) |
| const std::vector< DtFilename > & | additionalModelDefinitionPaths () const |
| virtual DtString | resolvePath (const DtString &path) |
| Substitute values into string. | |
| virtual DtString | markupPath (const DtString &path) |
| If values of variables are contained in string, substitute variable names. | |
Static Public Member Functions | |
| static DtAppPathResolver & | Instance () |
Protected Member Functions | |
| DtAppPathResolver () | |
Protected Attributes | |
| DtFilename | myDataPath |
| DtFilename | myAppDataPath |
| DtFilename | myUserDataPath |
| std::vector< DtFilename > | myAdditonalModelDefinitionPaths |
Singleton for resolving path variables (DATA_DIR, USER_DIR, etc)
|
protected |
|
static |
| void makVrf::DtAppPathResolver::setDataPath | ( | const DtFilename & | dataPath | ) |
| void makVrf::DtAppPathResolver::setAppDataPath | ( | const DtFilename & | appDataPath | ) |
| void makVrf::DtAppPathResolver::setUserDataPath | ( | const DtFilename & | userDataPath | ) |
| DtFilename makVrf::DtAppPathResolver::dataPath | ( | ) |
| DtFilename makVrf::DtAppPathResolver::appDataPath | ( | ) |
| DtFilename makVrf::DtAppPathResolver::userDataPath | ( | ) |
| void makVrf::DtAppPathResolver::setAdditionalModelDefinitionPaths | ( | const std::vector< DtFilename > & | ) |
| const std::vector<DtFilename>& makVrf::DtAppPathResolver::additionalModelDefinitionPaths | ( | ) | const |
Substitute values into string.
If values of variables are contained in string, substitute variable names.
|
protected |
|
protected |
|
protected |
|
protected |