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