Include dependency graph for FilePath.h:

Classes | |
| class | dir_iter |
| class | GZOutput |
| class | VTCompress |
Typedefs | |
| typedef void | BZFILE |
Functions | |
| vtString | FindFileOnPaths (const vtStringArray &paths, const char *filename) |
| bool | vtCreateDir (const char *dirname) |
| void | vtDestroyDir (const char *dirname) |
| void | vtDeleteFile (const char *filename) |
| const char * | StartOfFilename (const char *szFullPath) |
| vtString | ExtractPath (const char *szFullPath, bool bTrailingSlash) |
| bool | PathIsAbsolute (const char *szPath) |
| vtString | get_line_from_stream (std::ifstream &input) |
| void | RemoveFileExtensions (vtString &fname, bool bAll=true) |
| vtString | GetExtension (const vtString &fname, bool bFull=true) |
| vtString | ChangeFileExtension (const char *input, const char *extension) |
| bool | FileExists (const char *fname) |
| int | GetFileSize (const char *fname) |
| void | SetEnvironmentVar (const vtString &var, const vtString &value) |
| bool | gfopen (GZOutput &out, const char *fname) |
| int | gfprintf (GZOutput &out, const char *pFormat,...) |
| void | gfclose (GZOutput &out) |
| gzFile | vtGZOpen (const char *path, const char *mode) |
| FILE * | vtFileOpen (const char *fname_utf8, const char *mode) |
| FILE * | vtFileOpen (wchar_t *fname_wide, const char *mode) |
| FILE * | vtFileOpen (const std::wstring &fname_ws, const char *mode) |
|
||||||||||||
|
Given a full path containing a filename, return a string containing just the path portion of the string.
|
|
||||||||||||
|
This function will search for a given file on the given paths, returning the full path to the first file which is found (file exists and can be read from).
|
|
||||||||||||
|
Get the full file extension(s) from a filename. |
|
|
Return whether a path is absolute or relative. |
|
||||||||||||
|
Given a filename (which may include a path), remove any file extension(s) which it may have. |
|
|
Given a full path containing a filename, return a pointer to the filename portion of the string. |
|
|
Recursive make directory. Aborts if there is an ENOENT error somewhere in the middle.
|
|
|
Delete a file. |
|
|
Destroy a directory and all its contents (recusively if needed). |
|
||||||||||||
|
Open a file using a UTF-8 encoded filename. Parameters are the same as fopen(). The only difference is that instead of being limited to multi-byte local charset, it is Unicode which supports all languages. |
|
||||||||||||
|
Open a file using a UTF-8 encoded filename. Parameters are the same as fopen(). The only difference is that instead of being limited to multi-byte local charset, it is UTF-8 which supports all languages. |
1.4.5