Classes | |
class | DirectoryIterator |
Gets a directory items content. More... | |
Functions | |
bool | DeleteFile (PCChar8 filename) |
Deletes the file described by filename. More... | |
bool | RenameFile (PCChar8 filename, PCChar8 newFilename) |
Rename file. More... | |
bool | CreateDirectory (PCChar8 directoryName) |
Creates a directory. More... | |
String | ExtractFileName (PCChar8 FilePath) |
Extracts the file name described in FilePath. More... | |
String | ExtractFilePath (PCChar8 FilePath) |
Extracts the file path described in FilePath. More... | |
void | SplitFileName (const String FilePath, String &Path, String &FileName, String &FileExtension) |
Splits a file path into path, file name and file extension. More... | |
String | ChangeFileExt (PCChar8 FilePath, PCChar8 NewExt) |
Change file extension. More... | |
bool | IsAbsoluteFilePath (PCChar8 FilePath) |
Query if is it an absolute file path. More... | |
bool | IsRelativeFilePath (PCChar8 FilePath) |
Query if is it a relative file path. More... | |
String | AppendTrailingPathSeparator (PCChar8 FilePath) |
Appends a trailing path separator. More... | |
String | RemoveTrailingPathSeparator (PCChar8 FilePath) |
Removes the trailing path separator. More... | |
bool | CreateDirectoryPath (PCChar8 directoryPath) |
Creates a directory path. Create all hierachical directories contained in the given directory path. More... | |
Modules | |
IsFileExist | |
String AppendTrailingPathSeparator | ( | PCChar8 | FilePath | ) |
Appends a trailing path separator.
FilePath | Full path of the file. |
Change file extension.
FilePath | Full path of the file. |
NewExt | The new extension. |
bool CreateDirectory | ( | PCChar8 | directoryName | ) |
Creates a directory.
directoryName | Pathname of the directory. |
bool CreateDirectoryPath | ( | PCChar8 | directoryPath | ) |
Creates a directory path. Create all hierachical directories contained in the given directory path.
directoryPath | Directory path. |
bool DeleteFile | ( | PCChar8 | filename | ) |
Deletes the file described by filename.
filename | Filename of the file. |
String ExtractFileName | ( | PCChar8 | FilePath | ) |
Extracts the file name described in FilePath.
FilePath | Full path of the file. |
String ExtractFilePath | ( | PCChar8 | FilePath | ) |
Extracts the file path described in FilePath.
FilePath | Full path of the file. |
bool IsAbsoluteFilePath | ( | PCChar8 | FilePath | ) |
Query if is it an absolute file path.
FilePath | Full path of the file. |
bool IsRelativeFilePath | ( | PCChar8 | FilePath | ) |
Query if is it a relative file path.
FilePath | Full path of the file. |
String RemoveTrailingPathSeparator | ( | PCChar8 | FilePath | ) |
Removes the trailing path separator.
FilePath | Full path of the file. |
Rename file.
filename | File name of the file. |
newFilename | new file name . |
void SplitFileName | ( | const String | FilePath, |
String & | Path, | ||
String & | FileName, | ||
String & | FileExtension | ||
) |
Splits a file path into path, file name and file extension.
FilePath | Full path of the file. |
Path | [in,out] Result path of the file. |
FileName | [in,out] Result file name only. |
FileExtension | [in,out] Result file extension. |