|
MIRA
|
Different functions for searching files or directories. More...
#include <utils/Path.h>

Go to the source code of this file.
Namespaces | |
| mira | |
| specialize cv::DataType for our ImgPixel and inherit from cv::DataType<Vec> | |
Functions | |
| void | checkForMIRAPath () |
| Checks if environment variable(s) for MIRA is/are defined. More... | |
| PathVector | getMIRAPaths () |
| Returns vector of all MIRA project paths. More... | |
| Path | findFile (const PathVector &paths, const Path &file) |
| Find a file in a vector of paths. More... | |
| Path | findProjectFile (const Path &file) |
| Same as findFile above, but using all of the paths contained in $MIRA_PATH variable. More... | |
| PathVector | findFiles (const PathVector &paths, const Path &file, bool recursive=false) |
| Finds all files in a vector of paths. More... | |
| PathVector | findFiles (const Path &path, const Path &file, bool recursive=false) |
| Same as findFiles above, but using only one search path. More... | |
| PathVector | findProjectFiles (const Path &file, bool recursive=false) |
| Same as findFiles above, but using all of the paths contained in $MIRA_PATH variable. More... | |
| Path | findDirectory (const PathVector &paths, const Path &path) |
| Find a sub directory in a vector of paths. More... | |
| Path | findProjectDirectory (const Path &path) |
| Same as findDirectory above, but using all of the paths contained in $MIRA_PATH variable. More... | |
| Path | findContainingMIRAPath (const Path &path) |
| Returns the MIRA path that contains the given path. More... | |
| Path | chopMIRAPath (const Path &path) |
| Removes the root part of the given path that belongs to one of MIRA paths. More... | |
| PathVector | findDirectories (const PathVector &paths, const Path &path, bool recursive=false) |
| Finds all sub directories in a vector of paths. More... | |
| PathVector | findDirectories (const Path &basePath, const Path &path, bool recursive=false) |
| Same as findDirectories above, but searching only in one path. More... | |
| PathVector | findProjectDirectories (const Path &path, bool recursive=false) |
| Same as findDirectories above, but using all of the paths contained in $MIRA_PATH variable. More... | |
| std::string | findProjectPath (const std::string &path) |
| Finds a file or directory searching in all paths contained in $MIRA_PATH. More... | |
Different functions for searching files or directories.
1.8.14