#include <sys/types.h>
#include <sys/stat.h>
#include <algorithm>
#include <list>
#include <dlrCommon/functional.h>
#include <dlrPortability/filesystem.h>
#include <dlrUtilities/path.h>
Include dependency graph for path.cpp:

Go to the source code of this file.
Namespaces | |
| namespace | dlr |
| namespace | dlr::utilities |
Functions | |
| bool | dlr::utilities::isDirectory (const std::string &path) |
| This function returns a bool indicating whether or not the specified path is a directory. | |
| bool | dlr::utilities::isExistingPath (const std::string &path) |
| bool | dlr::utilities::isRegularFile (const std::string &path) |
| std::string | dlr::utilities::joinPath (const std::string &part0, const std::string &part1) |
| Joins two path elements with the appropriate path delimiter. | |
| std::vector< std::string > | dlr::utilities::listDirectory (const std::string &directoryName, bool fullPath=false) |
| Returns the names of the entries in the specified directory, in no particular order. | |
| std::vector< std::string > | dlr::utilities::recursiveListDirectory (const std::string &directoryName, bool fullPath=false, bool includeDirectoryNames=false) |
| Returns the names of files in the directory tree below the specified directory. | |
| std::pair< std::string, std::string > | dlr::utilities::splitExtension (const std::string &fileName) |
| Returns a std::pair<std::string, std::string> containing the fileName without its extension, and the extension. | |
| std::pair< std::string, std::string > | dlr::utilities::splitPath (const std::string &path) |
| This function accepts a path returns a pair of strings in which the first element is the directory name and the second is the filename. | |
Copyright (C) 2003-2007, David LaRose, dlr@cs.cmu.edu See accompanying file, LICENSE.TXT, for details.
Definition in file path.cpp.
1.5.2