15 #ifndef GEOSX_COMMON_PATH_HPP 16 #define GEOSX_COMMON_PATH_HPP 58 std::string::operator=( rhs );
void splitPath(std::string const &path, std::string &dirName, std::string &baseName)
Split the path in two parts : directory name and file name.
Class describing a file Path.
Path()
Default constructor.
void getAbsolutePath(std::string const &path, std::string &absolutePath)
Gets the absolute path of a file.
std::istream & operator>>(std::istream &is, Path &p)
Operator use with the class Path while parsing the XML file.
bool isAbsolutePath(const std::string &path)
Tells wether the path is absolute of not.
static std::string & pathPrefix()
Get the path prefix of the file.
void readDirectory(std::string const &path, std::vector< std::string > &files)
List all the files of one directory.
Path & operator=(Path const &rhs)
Copy Constructor.
std::string string
String type.
Path(Path const &src)
Copy constructor, creates a copy of src.
void makeDirsForPath(std::string const &path)
Make directories for path.