40 static char getNativePathSeparator();
43 static const std::string& getValidPathSeparators();
46 static const std::string& getInvalidCharacters();
52 static bool isFullyQualified(
const std::string& fn);
58 static bool isExplicitlyRelative(
const std::string& fn);
62 static bool setSearchPaths(
const std::string& paths);
66 static bool addSearchPaths(
const std::string& paths);
69 static std::string getSearchPaths();
87 static std::string find(std::string fn);
100 static bool fileExists(
const std::string& name);
111 static std::string findInDataDir(std::string fn);
114 static bool fileExistsInDataDir(
const std::string& name);
117 static std::string getTempPath();
120 static std::string getCurrentPath();
123 static std::string getExePath();
126 static std::string getHomePath();
135 static std::string makeRelative(
const std::string& from,
const std::string& to);
144 static bool mkdir( std::string fn );
151 static bool pathEqual(
const std::string& p1,
const std::string& p2 );
154 static std::string getExtension(std::string
const & fn);
157 static std::string getBasename(std::string
const & fn);
160 static std::string getFilename(std::string
const & fn);
165 static std::string getPath(std::string
const & fn,
bool resolve =
false);
181 static std::string getCanonicRepresentation(
const std::string & fn,
bool asPath =
false);
184 static void open(
const std::string & fn);
Provides forward declarations of types and structs.
File-system related functionality.
Definition: gsFileManager.h:35