27 #include <boost/filesystem.hpp> 36 namespace bfs = boost::filesystem;
115 std::string
GetStem(
const std::string& path);
122 std::string
GetStem(
const bfs::path& path);
std::string GetFilenameFromPath(const bfs::path &path)
Helper function to retrieve the filename from a boost filesystem path filename is just the name of th...
std::string GetFilenameFromDirectoryIterator(const bfs::directory_iterator &iter)
Helper function to retrieve a filename string from a directory iterator.
bool HasParentPath(const bfs::path &path)
Helper function to determine if a path object has a parent path.
bfs::path GetParentPath(const bfs::path &path)
Helper function to retrieve a parent path object from a path object.
std::string GetPathIteratorAsString(const bfs::path::iterator &pathIter)
Helper function to retrieve the path iterator in a string representation.
bfs::path GetAbsolutePath(const std::string &path)
Helper function to retrieve an absolute path from a given relative path.
bool HasExtension(const std::string &path)
Helper function to check if a filename has an extension.
std::string GetStem(const std::string &path)
Helper function to retrieve the filename minus any extension.
std::string GetExtension(const std::string &path)
Helper function to retrieve the extension.