EpcTools
An event based multi-threaded C++ development framework.
|
A path manipulation helper class. More...
#include <epath.h>
Static Public Member Functions | |
static cpStr | getDirectorySeparatorString () |
Retrieves the directory separator string. More... | |
static cChar | getDirectorySeparatorChar () |
Retrieves the directory separator character. More... | |
static cChar | getAltDirectorySeparatorChar () |
Retrieves the alternate directory separator character. More... | |
static cChar | getVolumeSeparatorChar () |
Retrieves the volume separator character. More... | |
static cpStr | getPathSeparatorChars () |
Retrieves the path separator characters. More... | |
static cpStr | getInvalidPathChars () |
Retrieves the invalid path characters. More... | |
static cpStr | getInvalidFileNameChars () |
Retrieves the invalid file name characters. More... | |
static Void | changeExtension (cpStr path, cpStr extension, EString &newPath) |
Changes the extension of an exist path name. More... | |
static Void | combine (cpStr path1, cpStr path2, cpStr path3, cpStr path4, EString &path) |
Combines individual path names into a single path name. More... | |
static Void | combine (cpStr path1, cpStr path2, cpStr path3, EString &path) |
Combines individual path names into a single path name. More... | |
static Void | combine (cpStr path1, cpStr path2, EString &path) |
Combines individual path names into a single path name. More... | |
static EString | combine (cpStr path1, cpStr path2, cpStr path3, cpStr path4) |
Combines individual path names into a single path name. More... | |
static EString | combine (cpStr path1, cpStr path2, cpStr path3) |
Combines individual path names into a single path name. More... | |
static EString | combine (cpStr path1, cpStr path2) |
Combines individual path names into a single path name. More... | |
static Void | getDirectoryName (cpStr path, EString &dirName) |
Retrieves the directory name from a file name. More... | |
static Void | getExtension (cpStr path, EString &ext) |
Retrieves the extension of a file name. More... | |
static Void | getFileName (cpStr path, EString &fileName) |
Retrieves just the file name from a fully qualified file name. More... | |
static Void | getFileNameWithoutExtension (cpStr path, EString &fileName) |
Retrieves the file name without any extension. More... | |
static Void | getPathRoot (cpStr path, EString &root) |
Retrieves the path root. More... | |
static EString | getDirectoryName (cpStr path) |
Retrieves the directory name from a file name. More... | |
static EString | getExtension (cpStr path) |
Retrieves the extension of a file name. More... | |
static EString | getFileName (cpStr path) |
Retrieves just the file name from a fully qualified file name. More... | |
static EString | getFileNameWithoutExtension (cpStr path) |
Retrieves the file name without any extension. More... | |
static EString | getPathRoot (cpStr path) |
Retrieves the path root. More... | |
A path manipulation helper class.
|
static |
Changes the extension of an exist path name.
path | the original path name. |
extension | the new extension. |
newPath | the new path name. |
|
static |
Combines individual path names into a single path name.
path1 | the first path name. |
path2 | the second path name. |
|
static |
Combines individual path names into a single path name.
path1 | the first path name. |
path2 | the second path name. |
path3 | the third path name. |
|
static |
Combines individual path names into a single path name.
path1 | the first path name. |
path2 | the second path name. |
path3 | the third path name. |
path4 | the fourth path name. |
|
static |
Combines individual path names into a single path name.
path1 | the first path name. |
path2 | the second path name. |
path3 | the third path name. |
path4 | the fourth path name. |
path | the combined path name. |
|
static |
Combines individual path names into a single path name.
path1 | the first path name. |
path2 | the second path name. |
path3 | the third path name. |
path | the combined path name. |
|
static |
Combines individual path names into a single path name.
path1 | the first path name. |
path2 | the second path name. |
path | the combined path name. |
|
static |
Retrieves the alternate directory separator character.
|
inlinestatic |
Retrieves the directory name from a file name.
path | the original file name. |
|
static |
Retrieves the directory name from a file name.
path | the original file name. |
dirName | the extracted directory name. |
|
static |
Retrieves the directory separator character.
|
static |
Retrieves the directory separator string.
|
inlinestatic |
Retrieves the extension of a file name.
path | the original file name. |
|
static |
Retrieves the extension of a file name.
path | the original file name. |
ext | the extracted file extension. |
|
inlinestatic |
Retrieves just the file name from a fully qualified file name.
path | the fully qualified file name. |
|
static |
Retrieves just the file name from a fully qualified file name.
path | the fully qualified file name. |
fileName | the extracted file name. |
|
inlinestatic |
Retrieves the file name without any extension.
path | the fully qualified file name. |
|
static |
Retrieves the file name without any extension.
path | the fully qualified file name. |
fileName | the file name without any extension. |
|
static |
Retrieves the invalid file name characters.
|
static |
Retrieves the invalid path characters.
|
inlinestatic |
Retrieves the path root.
path | the full path. |
|
static |
Retrieves the path root.
path | the full path. |
root | the path root. |
|
static |
Retrieves the path separator characters.
|
static |
Retrieves the volume separator character.