Choreonoid  1.8
Public Member Functions | Static Public Member Functions | List of all members
cnoid::FilePathVariableProcessor Class Reference

#include <FilePathVariableProcessor.h>

Inheritance diagram for cnoid::FilePathVariableProcessor:
cnoid::Referenced

Public Member Functions

 FilePathVariableProcessor ()
 
 ~FilePathVariableProcessor ()
 
void setSystemVariablesEnabled (bool on)
 
void setUserVariables (Mapping *variables)
 
void setBaseDirectory (const std::string &directory)
 
void clearBaseDirectory ()
 
std::string baseDirectory () const
 
stdx::filesystem::path baseDirPath () const
 
void setProjectDirectory (const std::string &directory)
 
void clearProjectDirectory ()
 
const std::string & projectDirectory () const
 
std::string parameterize (const std::string &path)
 
std::string expand (const std::string &path, bool doMakeNativeAbsolutePath)
 
const std::string & errorMessage () const
 
- Public Member Functions inherited from cnoid::Referenced
virtual ~Referenced ()
 

Static Public Member Functions

static FilePathVariableProcessorsystemInstance ()
 

Additional Inherited Members

- Protected Member Functions inherited from cnoid::Referenced
 Referenced ()
 
 Referenced (const Referenced &)
 
int refCount () const
 

Constructor & Destructor Documentation

◆ FilePathVariableProcessor()

FilePathVariableProcessor::FilePathVariableProcessor ( )

◆ ~FilePathVariableProcessor()

FilePathVariableProcessor::~FilePathVariableProcessor ( )

Member Function Documentation

◆ baseDirectory()

std::string FilePathVariableProcessor::baseDirectory ( ) const

◆ baseDirPath()

stdx::filesystem::path FilePathVariableProcessor::baseDirPath ( ) const

◆ clearBaseDirectory()

void FilePathVariableProcessor::clearBaseDirectory ( )

◆ clearProjectDirectory()

void FilePathVariableProcessor::clearProjectDirectory ( )

◆ errorMessage()

const std::string & FilePathVariableProcessor::errorMessage ( ) const

◆ expand()

std::string FilePathVariableProcessor::expand ( const std::string &  path,
bool  doMakeNativeAbsolutePath 
)

◆ parameterize()

std::string FilePathVariableProcessor::parameterize ( const std::string &  path)

◆ projectDirectory()

const std::string & FilePathVariableProcessor::projectDirectory ( ) const

◆ setBaseDirectory()

void FilePathVariableProcessor::setBaseDirectory ( const std::string &  directory)

◆ setProjectDirectory()

void FilePathVariableProcessor::setProjectDirectory ( const std::string &  directory)

◆ setSystemVariablesEnabled()

void FilePathVariableProcessor::setSystemVariablesEnabled ( bool  on)

◆ setUserVariables()

void FilePathVariableProcessor::setUserVariables ( Mapping variables)

◆ systemInstance()

FilePathVariableProcessor * FilePathVariableProcessor::systemInstance ( )
static

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