34 namespace filesystem {
63 std::vector<std::string> &filenames);
66 const std::string &extname,
67 std::vector<std::string> &filenames);
bool DeleteDirectory(const std::string &directory)
Definition: FileSystem.cpp:134
std::string GetFileExtensionInLowerCase(const std::string &filename)
Definition: FileSystem.cpp:49
std::string GetFileNameWithoutDirectory(const std::string &filename)
Definition: FileSystem.cpp:69
bool ListFilesInDirectoryWithExtension(const std::string &directory, const std::string &extname, std::vector< std::string > &filenames)
Definition: FileSystem.cpp:183
bool DirectoryExists(const std::string &directory)
Definition: FileSystem.cpp:105
bool ChangeWorkingDirectory(const std::string &directory)
Definition: FileSystem.cpp:101
bool ListFilesInDirectory(const std::string &directory, std::vector< std::string > &filenames)
Definition: FileSystem.cpp:158
std::string GetFileParentDirectory(const std::string &filename)
Definition: FileSystem.cpp:78
std::string GetWorkingDirectory()
Definition: FileSystem.cpp:95
bool MakeDirectoryHierarchy(const std::string &directory)
Definition: FileSystem.cpp:119
Definition: PinholeCameraIntrinsic.cpp:33
bool RemoveFile(const std::string &filename)
Definition: FileSystem.cpp:154
std::string GetFileNameWithoutExtension(const std::string &filename)
Definition: FileSystem.cpp:63
std::string GetRegularizedDirectoryName(const std::string &directory)
Definition: FileSystem.cpp:87
bool FileExists(const std::string &filename)
Definition: FileSystem.cpp:142
bool MakeDirectory(const std::string &directory)
Definition: FileSystem.cpp:111