EpcTools
An event based multi-threaded C++ development framework.
|
Go to the documentation of this file.
18 #ifndef __epath_h_included
19 #define __epath_h_included
72 static Void
combine(cpStr path1, cpStr path2, cpStr path3, cpStr path4,
EString &path);
78 static Void
combine(cpStr path1, cpStr path2, cpStr path3,
EString &path);
90 static EString combine(cpStr path1, cpStr path2, cpStr path3, cpStr path4);
146 static Bool m_dirEqualsVolume;
148 static Void cleanPath(cpStr path,
EString &cleanPath);
149 static Void insecureFullPath(cpStr path,
EString &fullPath);
150 static Bool isDsc(cChar c);
151 static Bool isPathRooted(cpStr path);
152 static Int findExtension(cpStr path);
191 inline Bool EPath::isDsc(cChar c)
197 #endif // #define __epath_h_included
Defines base class for exceptions and declaration helper macros.
static Void getPathRoot(cpStr path, EString &root)
Retrieves the path root.
Definition: epath.cpp:218
Macros for various standard C library functions and standard includes.
static Void combine(cpStr path1, cpStr path2, cpStr path3, cpStr path4, EString &path)
Combines individual path names into a single path name.
Definition: epath.cpp:115
static EString getPathRoot(cpStr path)
Retrieves the path root.
Definition: epath.h:143
static Void getExtension(cpStr path, EString &ext)
Retrieves the extension of a file name.
Definition: epath.cpp:167
static EString getExtension(cpStr path)
Retrieves the extension of a file name.
Definition: epath.h:131
#define DECLARE_ERROR_ADVANCED4(__e__)
Declares exception class derived from EError with an const char* as a constructor parameter and devel...
Definition: eerror.h:83
static Void changeExtension(cpStr path, cpStr extension, EString &newPath)
Changes the extension of an exist path name.
Definition: epath.cpp:38
static EString getDirectoryName(cpStr path)
Retrieves the directory name from a file name.
Definition: epath.h:127
A path manipulation helper class.
Definition: epath.h:33
static cChar getAltDirectorySeparatorChar()
Retrieves the alternate directory separator character.
static cpStr getInvalidFileNameChars()
Retrieves the invalid file name characters.
static Void getFileName(cpStr path, EString &fileName)
Retrieves just the file name from a fully qualified file name.
Definition: epath.cpp:194
static EString getFileNameWithoutExtension(cpStr path)
Retrieves the file name without any extension.
Definition: epath.h:139
static cpStr getDirectorySeparatorString()
Retrieves the directory separator string.
String class.
Definition: estring.h:30
static cpStr getInvalidPathChars()
Retrieves the invalid path characters.
static cChar getVolumeSeparatorChar()
Retrieves the volume separator character.
static cpStr getPathSeparatorChars()
Retrieves the path separator characters.
static cChar getDirectorySeparatorChar()
Retrieves the directory separator character.
static Void getDirectoryName(cpStr path, EString &dirName)
Retrieves the directory name from a file name.
Definition: epath.cpp:143
Encapsulates and extends a std::string object.
static Void getFileNameWithoutExtension(cpStr path, EString &fileName)
Retrieves the file name without any extension.
Definition: epath.cpp:212
static EString getFileName(cpStr path)
Retrieves just the file name from a fully qualified file name.
Definition: epath.h:135