|
static constexpr bool | IsCharDirSep (wchar_t ch) noexcept |
|
static constexpr bool | IsCharWildcard (wchar_t ch) noexcept |
|
static FILECHR_TYPE_ __stdcall | GetFileCharType (wchar_t ch, FILESYS_TYPE eSys=FILESYS_DEFAULT) |
|
static bool __stdcall | IsFileNameValid (const FILECHAR_t *pszName, FILECHR_MASK_t uCharMask=FILECHR_All, FILESYS_TYPE eSys=FILESYS_DEFAULT) |
|
static bool __stdcall | IsFileNameExt (const FILECHAR_t *pszFileName, const FILECHAR_t *pszExt) noexcept |
|
static bool __stdcall | HasTitleWildcards (const FILECHAR_t *pszPath) |
|
static FILECHAR_t *__stdcall | GetFileNameExt (const FILECHAR_t *pszName, StrLen_t iLen=k_StrLen_UNK, bool bMultiDot=false) |
|
static StrLen_t __stdcall | StripFileExt (FILECHAR_t *pszFile, StrLen_t iLen, bool bMultiDot=false) |
|
static cStringF __stdcall | ReplaceFileExt (const FILECHAR_t *pszFilePath, const FILECHAR_t *pszExtNew) |
|
static cStringF __stdcall | GetNameExtStar (const FILECHAR_t *pszFilePath) |
|
static FILECHAR_t *__stdcall | GetFileName (const FILECHAR_t *pszPath, StrLen_t iLenPath=k_StrLen_UNK) |
|
static cStringF __stdcall | GetFileNameNE (const FILECHAR_t *pszPath, StrLen_t iLenPath=k_StrLen_UNK, bool bMultiDot=false) |
|
static StrLen_t __stdcall | MakeFileSymbolicName (ATOMCHAR_t *pszOut, const FILECHAR_t *pszPath, const ATOMCHAR_t *pszPrefix=nullptr, ATOMCHAR_t chSub='_', bool bAllowLeadingNumber=false) |
|
static cStringA __stdcall | GetFileSymbolicName (const FILECHAR_t *pszPath, const ATOMCHAR_t *pszPrefix=nullptr, ATOMCHAR_t chSub='_', bool bAllowLeadingNumber=false) |
|
static StrLen_t __stdcall | MakeFullPath2 (FILECHAR_t *pszFileOut, const FILECHAR_t *pszFileInp, StrLen_t iLenMax, FILECHAR_t chSep=k_DirSep) |
|
static StrLen_t __stdcall | MakeFullPath (FILECHAR_t *pszFileOut, const FILECHAR_t *pszFileInp, StrLen_t iLenMax, FILECHAR_t chSep=k_DirSep) |
|
static cStringF __stdcall | MakeFullPathX (const FILECHAR_t *pszFileInp, FILECHAR_t chSep=k_DirSep) |
|
static StrLen_t __stdcall | MakeProperPath (FILECHAR_t *pszFileOut, StrLen_t iLenMax=260, const FILECHAR_t *pszFileInp=nullptr, FILECHAR_t chSep=k_DirSep) |
|
static cStringF __stdcall | MakeProperPathX (const FILECHAR_t *pszFileInp, FILECHAR_t chSep=k_DirSep) |
|
static StrLen_t __stdcall | AddFileDirSep (FILECHAR_t *pszOut, StrLen_t iLen=k_StrLen_UNK, FILECHAR_t chSep=k_DirSep) |
|
static StrLen_t __stdcall | CombineFilePathA (FILECHAR_t *pszOut, StrLen_t iLenMax, StrLen_t iLen, const FILECHAR_t *pszName, FILECHAR_t chSep=k_DirSep) |
|
static StrLen_t __stdcall | CombineFilePath (FILECHAR_t *pszFilePathOut, StrLen_t iLenMax, const FILECHAR_t *pszDir, const FILECHAR_t *pszName, FILECHAR_t chSep=k_DirSep) |
|
static cStringF __stdcall | CombineFilePathX (const FILECHAR_t *pszBase, const FILECHAR_t *pszName, FILECHAR_t chSep=k_DirSep) |
|
static cStringF _cdecl | CombineFilePathF (FILECHAR_t chSep, const FILECHAR_t *pszBase,...) |
|
static StrLen_t __stdcall | ExtractDir (FILECHAR_t *pszPath, StrLen_t iLen=k_StrLen_UNK, bool bTrailingSep=true) |
|
static StrLen_t __stdcall | ExtractDirCopy (FILECHAR_t *pszDirPath, StrLen_t iLenMax, const FILECHAR_t *pszFilePathSrc, bool bTrailingSep=true) |
|
static cStringF __stdcall | GetFileDir (const FILECHAR_t *pszFilePath, bool bTrailingSep=true) |
|
static bool __stdcall | IsRelativeRoot (const FILECHAR_t *pszFullPath, const FILECHAR_t *pszRootDir, StrLen_t iLen=k_StrLen_UNK) |
|
static bool __stdcall | IsRelativePath (const FILECHAR_t *pszFullPath, const FILECHAR_t *pszRelativePath) |
|
static cStringF __stdcall | MakeRelativePath (const FILECHAR_t *pszFullPath, const FILECHAR_t *pszRootDir) |
|
static StrLen_t __stdcall | GetFilePathDeviceLen (const FILECHAR_t *pszNameRoot) |
|
static bool __stdcall | IsFileDeviceRemote (const FILECHAR_t *pszPath) |
|
static bool __stdcall | IsFilePathRooted (const FILECHAR_t *pszName) |
|
static bool __stdcall | IsFilePathRoot (const FILECHAR_t *pszName) |
|
static bool __stdcall | IsFilePathTitle (const FILECHAR_t *pszName) |
|
static bool __stdcall | HasFilePathRelatives (const FILECHAR_t *pszName, bool bOrDevices=true) |
|
static FILECHAR_t *__stdcall | SkipRelativePrefix (const FILECHAR_t *pszName) |
|
static FILECHAR_t *__stdcall | GetFilePathUpDir2 (const FILECHAR_t *pszName, StrLen_t iLen=k_StrLen_UNK, int iQtyDirs=1) |
|
static cStringF __stdcall | GetFilePathUpDir1 (const FILECHAR_t *pszName, StrLen_t iLen=k_StrLen_UNK, int iQtyDirs=1) |
|
static bool __stdcall | MakeFilePathUpDir (FILECHAR_t *pszName) |
|
static COMPARE_t __stdcall | ComparePath (const FILECHAR_t *pszPath1, const FILECHAR_t *pszPath2, StrLen_t iLenMax=260) |
|
static THIS_t _cdecl | GetFormatf (const FILECHAR_t *pszFormat,...) |
|
static THIS_t __stdcall | GetErrorStringV (HRESULT nFormatID, void *pSource, va_list vargs) |
|
static THIS_t __stdcall | GetErrorString (HRESULT nFormatID, void *pSource=nullptr) |
|
static THIS_t _cdecl | GetErrorStringf (HRESULT nFormatID, void *pSource,...) |
|
static THIS_t __stdcall | GetSizeK (UINT64 uVal, UINT nKUnit=1024, bool bSpace=false) |
|
|
typedef FILECHAR_t | CharType_t |
| ALA std::string::value_type. More...
|
|
| cStringT () noexcept |
|
| cStringT (SUPER_t &str) noexcept |
|
| cStringT (const char *pszText) |
|
| cStringT (const char *pszText, StrLen_t iLenMax) |
|
| cStringT (const wchar_t *pwText) |
|
| cStringT (const wchar_t *pwText, StrLen_t iLenMax) |
|
const FILECHAR_t * | get_CPtr () const noexcept |
|
bool | isPrintableString () const |
|
bool | isValidString () const noexcept |
|
bool | isValidCheck () const noexcept |
|
bool | IsWhitespace () const |
|
HRESULT | ReadZ (cStreamInput &File, StrLen_t iLenMax) |
|
bool | WriteZ (cStreamOutput &File) const |
|
HASHCODE_t | get_HashCode () const noexcept |
|
size_t | GetHeapStats (OUT ITERATE_t &iAllocCount) const |
|
int | get_RefCount () const |
|
void | SetStringStatic () |
|
StrLen_t | SetCodePage (const wchar_t *pwText, CODEPAGE_t uCodePage=CP_UTF8) |
|
StrLen_t | SetCodePage (const wchar_t *pwStr, CODEPAGE_t uCodePage) |
|
StrLen_t | SetCodePage (const wchar_t *pwStr, CODEPAGE_t uCodePage) |
|
StrLen_t | GetCodePage (OUT wchar_t *pwText, StrLen_t iLenMax, CODEPAGE_t uCodePage=CP_UTF8) const |
|
StrLen_t | GetCodePage (OUT wchar_t *pwText, StrLen_t iLenMax, CODEPAGE_t uCodePage) const |
|
StrLen_t | GetCodePage (OUT wchar_t *pwText, StrLen_t iLenMax, CODEPAGE_t uCodePage) const |
|
THIS_t | GetTrimWhitespace () const |
|
HRESULT | SerializeInput (cStreamInput &File, StrLen_t iLenMax=StrT::k_LEN_MAX) |
|
HRESULT | SerializeOutput (cStreamOutput &File) const |
|
HRESULT | SerializeOutput (cArchive &a) const |
|
HRESULT | Serialize (cArchive &a) |
|
const THIS_t & | operator= (const THIS_t &s) |
|
const THIS_t & | operator= (const char *pszStr) |
|
const THIS_t & | operator= (const wchar_t *pwStr) |
|
void | SetErase () |
|
bool | Contains (const FILECHAR_t *pSubStr) |
|
bool | ContainsI (const FILECHAR_t *pSubStr) |
|
bool | StartsWithI (const FILECHAR_t *pSubStr) |
|
bool | EndsWithI (const FILECHAR_t *pSubStr) const |
|
const FILECHAR_t * | c_str () const |
|
StrLen_t | size () const |
|
StrLen_t | length () const |
|
bool | empty () const |
|
StrLen_t | find (FILECHAR_t ch) const |
|
void | assign (const FILECHAR_t *pszStr, StrLen_t iLenCat) |
|
void | append (const FILECHAR_t *pszStr, StrLen_t iLenCat) |
|
void | push_back (FILECHAR_t ch) |
|
void | resize (StrLen_t iSize) |
|
void | reserve (StrLen_t iSize) |
|
THIS_t | substr (StrLen_t nFirst, StrLen_t nCount=StrT::k_LEN_MAX) const |
|
| CStringT () noexcept |
|
| CStringT (const wchar_t *pwText) |
|
| CStringT (const wchar_t *pwText, StrLen_t iLenMax) |
|
| CStringT (const char *pszStr) |
|
| CStringT (const char *pszStr, StrLen_t iLenMax) |
|
| CStringT (const THIS_t &ref) noexcept |
|
| CStringT (THIS_t &&ref) noexcept |
|
| ~CStringT () |
|
CStringData * | GetData () const noexcept |
|
const _TYPE_CH * | GetString () const noexcept |
|
bool | isValidString () const noexcept |
|
bool | IsEmpty () const noexcept |
|
StrLen_t | GetLength () const noexcept |
|
void | Empty () |
|
const _TYPE_CH & | ReferenceAt (StrLen_t nIndex) const |
|
_TYPE_CH | GetAt (StrLen_t nIndex) const |
|
void | SetAt (StrLen_t nIndex, _TYPE_CH ch) |
|
_TYPE_CH * | GetBuffer (StrLen_t iMinLength) |
|
void | ReleaseBuffer (StrLen_t nNewLength=k_StrLen_UNK) |
|
const THIS_t & | operator= (const THIS_t &ref) |
|
const THIS_t & | operator= (THIS_t &&ref) |
|
void | AssignLenT (const _TYPE_CH *pszStr, StrLen_t iLenMax) |
|
void | AssignLen (const char *pszStr, StrLen_t iSizeMax=StrT::k_LEN_MAX) |
|
const THIS_t & | operator= (const char *pStr) |
|
void | AssignLen (const wchar_t *pwText, StrLen_t iSizeMax=StrT::k_LEN_MAX) |
|
const THIS_t & | operator= (const wchar_t *pStr) |
|
void | FormatV (const _TYPE_CH *pszStr, va_list args) |
|
void _cdecl | Format (const _TYPE_CH *pszStr,...) |
|
COMPARE_t | Compare (const _TYPE_CH *pszStr) const |
|
COMPARE_t | CompareNoCase (const _TYPE_CH *pszStr) const |
|
void | MakeUpper () |
|
void | MakeLower () |
|
THIS_t | Left (StrLen_t nCount) const |
|
THIS_t | Right (StrLen_t nCount) const |
|
THIS_t | Mid (StrLen_t nFirst, StrLen_t nCount=StrT::k_LEN_MAX) const |
|
void | TrimRight () |
|
void | TrimLeft () |
|
StrLen_t | Find (_TYPE_CH ch, StrLen_t nPosStart=0) const |
|
_TYPE_CH | operator[] (StrLen_t nIndex) const |
|
const _TYPE_CH & | operator[] (StrLen_t nIndex) |
|
| operator const _TYPE_CH * () const |
|
StrLen_t | Insert (StrLen_t nIndex, _TYPE_CH ch) |
|
const THIS_t & | operator+= (_TYPE_CH ch) |
|
StrLen_t | Insert (StrLen_t nIndex, const _TYPE_CH *pszStr, StrLen_t iLenCat) |
|
StrLen_t | Insert (StrLen_t nIndex, const _TYPE_CH *pszStr) |
|
const THIS_t & | operator+= (const _TYPE_CH *psz) |
|
void | Assign (const THIS_t &str) |
|
void | Assign (const wchar_t *pwText) |
|
void | Assign (const char *pszStr) |
|
void | AssignLen (const wchar_t *pwStr, StrLen_t iLenMax) |
|
void | AssignLen (const char *pszStr, StrLen_t iLenMax) |
|
void | Assign (const wchar_t *pwStr) |
|
void | Assign (const char *pszStr) |
|
void | AssignLen (const char *pszStr, StrLen_t iLenMax) |
|
void | AssignLen (const wchar_t *pwStr, StrLen_t iLenMax) |
|
void | Assign (const wchar_t *pwStr) |
|
void | Assign (const char *pszStr) |
|
void | Init () noexcept |
|
void | EmptyValid () |
|
void | AssignFirst (const THIS_t &s) noexcept |
|
void | AllocBuffer (StrLen_t iStrLength) |
|
void | CopyBeforeWrite () |
|
const char | m_Nil |
|
const wchar_t | m_Nil |
|
_TYPE_CH * | m_pchData |
|
static const _TYPE_CH | m_Nil |
|
File Name and Path manipulation helper functions. Manipulation of a files name parts such as found in FILECHR_TYPE_ similar to .NET System.IO.Path similar to linux libpath_utils
- Note
- use _MAX_PATH for max length of file path.