AXOM
Axom provides a robust, flexible software infrastructure for the development of multi-physics applications and computational tools.
FileUtilities.hpp File Reference
#include <string>

Namespaces

 axom
 
 axom::utilities
 
 axom::utilities::filesystem
 

Functions

std::string axom::utilities::filesystem::getCWD ()
 Returns the current working directory within the file system. More...
 
int axom::utilities::filesystem::changeCWD (const std::string &dirName)
 Changes the current working directory within the file system. More...
 
bool axom::utilities::filesystem::pathExists (const std::string &fileName)
 Checks if the path pointed to by fileName exists. More...
 
std::string axom::utilities::filesystem::joinPath (const std::string &fileDir, const std::string &fileName, const std::string &separator="/")
 Joins two strings with the given separator char. More...
 
int axom::utilities::filesystem::makeDirsForPath (const std::string &path)
 Make directories for a given path string. More...
 
void axom::utilities::filesystem::getDirName (std::string &dir, const std::string &path)
 Get directory name from a path that contains a file name. More...
 
int axom::utilities::filesystem::removeFile (const std::string &filename)
 Remove the specified file. More...