VR-Forces 4.6 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
makVrf::DtAppPathResolver Class Reference

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 DtAppPathResolverInstance ()

Protected Member Functions

 DtAppPathResolver ()

Protected Attributes

DtFilename myDataPath
DtFilename myAppDataPath
DtFilename myUserDataPath
std::vector< DtFilename > myAdditonalModelDefinitionPaths

Detailed Description

Singleton for resolving path variables (DATA_DIR, USER_DIR, etc)

Constructor & Destructor Documentation

makVrf::DtAppPathResolver::DtAppPathResolver ( )
protected

Member Function Documentation

static DtAppPathResolver& makVrf::DtAppPathResolver::Instance ( )
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
virtual DtString makVrf::DtAppPathResolver::resolvePath ( const DtString path)
virtual

Substitute values into string.

virtual DtString makVrf::DtAppPathResolver::markupPath ( const DtString path)
virtual

If values of variables are contained in string, substitute variable names.

Member Data Documentation

DtFilename makVrf::DtAppPathResolver::myDataPath
protected
DtFilename makVrf::DtAppPathResolver::myAppDataPath
protected
DtFilename makVrf::DtAppPathResolver::myUserDataPath
protected
std::vector<DtFilename> makVrf::DtAppPathResolver::myAdditonalModelDefinitionPaths
protected

The documentation for this class was generated from the following file:

Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)