|
PathVector | extractPaths (const std::string &env) |
| Extracts and resolves all paths contained in an environment variable. More...
|
|
Path | normalizePath (const Path &path) |
| Normalizes a path: it resolves all ".." in a path. More...
|
|
Path | resolvePath (const Path &path, bool makeAbsolute=true) |
| Resolves a path. More...
|
|
bool | isRootOfPath (const Path &root, const Path &path) |
| The function takes two absolute paths and returns true if the given root path is part of the path given in the path argument. More...
|
|
Path | getExecutableDirectory () |
| Get the path of the current running application binary. More...
|
|
Path | getHomeDirectory () |
| Get the absolute path of the current user's home directory. More...
|
|
Path | getAppDataDirectory (const std::string &appName="mira") |
| Returns the absolute path for application-specific data. More...
|
|
Path | getTempDirectory () |
| Get the absolute path of the temporary directory. More...
|
|
Path | relativizePath (const Path &path, const Path &base) |
| Returns relative path from base to path. More...
|
|
template<typename Reflector > |
void | reflectRead (Reflector &r, Path &path) |
| Nonintrusive reflect method for Path. More...
|
|
template<typename Reflector > |
void | reflectWrite (Reflector &r, Path &path) |
| Nonintrusive reflect method for Path. More...
|
|
PropertyHint | file (const std::string &filters=std::string(), bool save=false) |
| Tells the property editor that the path is for a file, and that it should show a "File Open"/"File Save" dialog instead of a "Choose Path" dialog. More...
|
|
Functions for modifying file system paths.
- Author
- Tim Langner
- Date
- 2010/10/01