Public Member Functions | |
| FilePathContainer () | |
| FilePathContainer (const std::string &env) | |
| ~FilePathContainer () | |
| void | setFilePathList (const std::string &paths, const std::string &delimitor=FP_PATH_DELIMITER) |
| bool | setEnvironmentVariable (const std::string &env) |
| void | setFilePath (const std::string &path) |
| void | FilePathContainer::addFilePath (const std::string &path) |
| void | pushbackPath (const std::string &path) |
| void | pushfrontPath (const std::string &path) |
| std::list< std::string > & | getFilePathList () |
| std::string | extractDirectory (const std::string &path) |
| std::string | extractFilename (const std::string &path) |
| std::string | findFile (const std::string &filename) |
|
|
Constructor |
|
|
Constructor - set the file path found in given environment variable |
|
|
Destructor |
|
|
Get directory from path |
|
|
Get filename from path |
|
|
Adds a list of paths to the previous one |
|
|
Return path to given filename if file exists in any directory |
|
|
Get file path list |
|
|
Adds a filepath to the end of the list |
|
|
Adds a filepath to the beginning of the list |
|
|
Set the file path found in given environment variable - returns true if env var found |
|
|
Set the file path directly |
|
||||||||||||
|
Set the file path using a single string deliminated with given delimitor |
1.4.6