Polygon Crucher SDK - Documentation
Documentation
Loading...
Searching...
No Matches
CExLCString Class Reference

CExLCString is a class to perform uncase comparison between CXString. More...

Detailed Description

CExLCString is a class to perform uncase comparison between CXString.

#include <StringTools.h>

Inheritance diagram for CExLCString:
CXTString< TCHAR >

Public Member Functions

 CExLCString (const CXString &ref)
 
CExLCStringoperator= (const CXString &ref)
 
int Find (const CXString &ref, int nIndex=0) const
 
- Public Member Functions inherited from CXTString< TCHAR >
 CXTString (const CXTString< TCHAR > &str)
 
 CXTString (LPCSTR pszText)
 
 CXTString (LPCWSTR pszText)
 
 CXTString (TCHAR ch, int nLength=1)
 
 CXTString (LPCXSTR pszText, int nLength)
 
 CXTString (const CStringA &txt)
 
 CXTString (const CStringW &txt)
 
CXTString< TCHAR > & operator= (const CXTString< TCHAR > &str)
 
CXTString< TCHAR > & operator= (const TCHAR ch)
 
CXTString< TCHAR > & operator= (const unsigned char *pszText)
 
CXTString< TCHAR > & operator= (LPCSTR pszText)
 
CXTString< TCHAR > & operator= (LPCWSTR pszText)
 
CXTString< TCHAR > & operator= (const CStringA &str)
 
CXTString< TCHAR > & operator= (const CStringW &str)
 
void Copy (LPCXSTR szText, int nCount)
 
bool operator== (LPCXSTR pszText) const
 
bool operator!= (LPCXSTR pszText) const
 
 operator LPCXSTR () const
 
TCHAR operator[] (int nIndex)
 
CXTString< TCHAR > & operator+= (TCHAR ch)
 
CXTString< TCHAR > & operator+= (const CXTString< TCHAR > &str)
 
CXTString< TCHAR > & operator+= (LPCSTR szText)
 
CXTString< TCHAR > & operator+= (LPCWSTR szText)
 
int GetLength () const
 returns the length of the buffer in characters (can be greater than strlen, if set by GetBufferSetLength)
 
void AppendFormat (LPCXSTR pszFormat,...)
 
void AppendFormat (unsigned int nFormatID,...)
 
int Compare (LPCXSTR pszText) const
 
int CompareNoCase (LPCXSTR pszText) const
 
int Delete (int nIndex, int nCount=1)
 
int Find (TCHAR ch, int nIndex=0) const
 
int Find (LPCXSTR pszText, int nStart=0, bool caseInsensitive=false) const
 
int FindNoCase (TCHAR ch, int nIndex=0) const
 
int FindEndPos (LPCXSTR pszText, int nStart=0, bool caseInsensitive=false) const
 
int FindOneOf (LPCXSTR pszText) const
 
int ScanS (LPCXSTR pszFormat,...) const
 
int ScanVS (LPCXSTR pszFormat, va_list args) const
 
int ScanVS (int offsetCount, LPCXSTR pszFormat, va_list args) const
 
void Format (unsigned int nID,...)
 
void Format (LPCXSTR pszFormat,...)
 
void FormatV (LPCXSTR pszFormat, va_list args)
 
TCHAR GetAt (int nIndex) const
 
LPCXSTR GetAtPtr (int nIndex) const
 
LPCXSTR GetConstBuffer (int nMinBufLength=-1)
 
LPXSTR GetBuffer (int nMinBufLength=-1)
 
LPXSTR GetBufferSetLength (int nBufferLength)
 
void ReleaseBuffer (int nNewLength=-1)
 
LPXSTR DetachBuffer ()
 Detach buffer. Caller must free buffer with xfree.
 
void Empty ()
 
int Insert (int nIndex, TCHAR ch)
 
int Insert (int nIndex, const CXTString< TCHAR > &str)
 
bool IsEmpty () const
 
CXTString Left (int nCount) const
 
bool LoadString (unsigned int nID)
 
void MakeLower (int count=-1)
 
void MakeReverse ()
 
void MakeUpper (int count=-1)
 
CXTString Mid (int nFirst, int nCount=-1) const
 
int Remove (TCHAR ch)
 
int Remove (LPCXSTR pszText, bool caseInsensitive=false)
 
int Replace (TCHAR chOld, TCHAR chNew)
 
int Replace (LPCXSTR pszOld, LPCXSTR pszNew)
 
int ReverseFind (TCHAR pszText, int nStart=-1) const
 
int ReverseFind (LPCXSTR pszText, int nStart=-1) const
 
CXTString Right (int nCount) const
 
void SetAt (int nIndex, TCHAR ch)
 
CXTString SpanExcluding (LPCXSTR pszText) const
 
CXTString SpanIncluding (LPCXSTR pszText) const
 
CXTString Tokenize (LPCXSTR pszTokens, int &iStart) const
 
void Trim ()
 Remove left and right space char.
 
void TrimLeft ()
 
void TrimLeft (TCHAR chTarget)
 Remove left specified character.
 
void TrimLeft (LPCXSTR pszTargets)
 Remove any character from pszTargets string on the left side of the string.
 
void TrimRight ()
 
void TrimRight (TCHAR chTarget)
 
void TrimRight (LPCXSTR pszTargets)
 
int Collate (LPCXSTR pszText) const
 
int CollateNoCase (LPCXSTR pszText) const
 

Additional Inherited Members

- Static Public Member Functions inherited from CXTString< TCHAR >
static xStringEncoding GetDefaultEncoding ()
 

The documentation for this class was generated from the following file: