#include <ZipPathComponent.h>
Public Member Functions | |
CZipPathComponent () | |
CZipPathComponent (LPCTSTR lpszFullPath) | |
Construct the object and set a path. | |
void | SetFullPath (LPCTSTR lpszFullPath) |
Set the path. | |
CZipString | GetFileTitle () const |
void | SetFileTitle (LPCTSTR lpszFileTitle) |
Set the file title (without an extension). | |
void | SetExtension (LPCTSTR lpszExt) |
Set the extension alone. | |
CZipString | GetFileExt () const |
CZipString | GetFileDrive () const |
CZipString | GetNoDrive () const |
CZipString | GetFileName () const |
CZipString | GetFullPath () const |
CZipString | GetFilePath () const |
Static Public Member Functions | |
static void | AppendSeparator (CZipString &szPath) |
Append a path separator to szPath if it is not already there. | |
static void | RemoveSeparators (CZipString &szPath) |
Remove separators from the end of szPath. | |
static void | RemoveSeparatorsLeft (CZipString &szPath) |
Remove separators from the beginning of szPath. | |
static bool | IsSeparator (TCHAR c) |
static bool | HasEndingSeparator (const CZipString &szPath) |
Static Public Attributes | |
static const TCHAR | m_cSeparator |
A system - specific default path separator. Defined in ZipPlatform.cpp. | |
Protected Attributes | |
Path components | |
CZipString | m_szDirectory |
a directory(ies) (one or more) without the path separators at the end and the beginning | |
CZipString | m_szFileTitle |
a filename without an extension | |
CZipString | m_szFileExt |
a file extension without a dot | |
CZipString | m_szDrive |
a drive (if the system path standard uses it) without a path separator at the end | |
CZipString | m_szPrefix |
a prefix (e.g. for the UNC path or Unicode path under Windows) |
Definition at line 34 of file ZipPathComponent.h.
|
Construct the object and set a path.
Definition at line 99 of file ZipPathComponent.h. |
|
Definition at line 145 of file ZipPathComponent.h. |
|
Definition at line 141 of file ZipPathComponent.h. |
|
Definition at line 154 of file ZipPathComponent.h. |
|
Definition at line 182 of file ZipPathComponent.h. |
|
Definition at line 116 of file ZipPathComponent.h. |
|
Definition at line 167 of file ZipPathComponent.h. |
|
|
|
Definition at line 84 of file ZipPathComponent.h. |
|
Definition at line 76 of file ZipPathComponent.h. |
|
Set the extension alone.
Definition at line 132 of file ZipPathComponent.h. |
|
Set the file title (without an extension).
Definition at line 124 of file ZipPathComponent.h. |
|
Set the path.
|