Utilities for dealing with file names and files. We use boost::filesystem anywhere we can, but that doesn't cover everything we want to do. More...
#include <string>
#include "export.h"
Go to the source code of this file.
Namespaces | |
namespace | Filesystem |
Platform-independent utilities for manipulating file names, files, directories, and other file system miscellany. | |
Functions | |
DLLPUBLIC std::string | Filesystem::file_extension (const std::string &filepath) |
DLLPUBLIC void | Filesystem::searchpath_split (const std::string &searchpath, std::vector< std::string > &dirs, bool validonly=false) |
DLLPUBLIC std::string | Filesystem::searchpath_find (const std::string &filename, const std::vector< std::string > &dirs, bool testcwd=true) |
DLLPUBLIC bool | Filesystem::path_is_absolute (const std::string &path, bool dot_is_absolute=false) |
Utilities for dealing with file names and files. We use boost::filesystem anywhere we can, but that doesn't cover everything we want to do.
Some helpful nomenclature: