Functions | |
std::string | standardPath (const std::string &inPath) |
std::string | getExtension (const std::string &path) |
std::string | getFilenameFromPath (const std::string &path) |
std::string | stripFilename (const std::string &filename) |
std::string | stripExtension (const std::string &filename) |
General utility functions for OS-related tasks
std::string os::getExtension | ( | const std::string & | path | ) | [inline] |
Return the extension for the given path, which is equal to the characters following the final period. If there is no period in the given string the full string will be returned
Definition at line 61 of file path.h.
Referenced by MatchFileExtension< Functor >::operator()().
std::string os::getFilenameFromPath | ( | const std::string & | path | ) | [inline] |
std::string os::standardPath | ( | const std::string & | inPath | ) | [inline] |
Convert the slashes in a path to forward-slashes
Definition at line 44 of file path.h.
Referenced by EModel::modelChanged().
std::string os::stripExtension | ( | const std::string & | filename | ) | [inline] |
std::string os::stripFilename | ( | const std::string & | filename | ) | [inline] |