Typedefs |
typedef struct stat | stat_t |
Functions |
const char * | GetExtension (IN const char *filename) throw () |
bool | hasExtension (IN const char *filename, IN const char *extension) throw () |
| returns true if the given filename ends with the specified string (NOT case-sensitive)
|
void | GetFileRoot (IN const char *filename, OUT std::string &root_name) |
void | GetParentDirectory (IN const char *filename, OUT std::string &directory) throw () |
const char * | getTopDirectory (IN const char *filename, OUT std::string &topDir) |
| retrieves the highest known folder for the given file.
|
const char * | GetFilename (IN const char *path) throw () |
void | getTempfile (IN const char *filename, OUT std::string &tempfile) throw () |
void | getUserHomePath (OUT std::string &path) |
bool | ContainsWhitespace (IN const char *test) throw () |
bool | doesPathExist (IN const char *path) throw () |
void | createEmptyFileIfDoesNotExist (IN const char *path) throw () |
bool | matchesExtension (IN const char *filename, IN const char *extension) throw () |
void | walkDirectoryTree (IN const char *rootDir, IN const char *matchExt, OUT VecString &paths) |
| does a recursive directory walk, and returns all paths relative to root
|
std::string | getPathRelativeTo (IN const char *startFile, IN const char *relPath) |
| given a starting filename, and then a path relative to that, return the full path of the file.
|
void | appendPath (IN const char *parentDirectory, IN const char *nextPath, OUT std::string &path) |
| given a starting path (directory), append another piece of the path
|
Variables |
static const char | s_separator |