|
Public Member Functions |
|
| CStrParse (void) |
| | Constructor.
|
|
virtual | ~CStrParse (void) |
| | Destructor.
|
Static Public Member Functions |
|
static LONG | FindNumber (LPCTSTR pBuf, LONG i, LONG lMax) |
| | Searches a string for a number character.
|
|
static LONG | WFindNumber (LPCWSTR pBuf, LONG i, LONG lMax) |
| | Searches a string for a number character.
|
|
static UINT | IsLineBreak (LPCTSTR pBuf, UINT *puSize=NULL) |
| | Returns non-zero if line break is found.
|
|
static BOOL | IsTextChar (const char ch) |
| | Returns non-zero if ch is a text character.
|
|
static BOOL | IsWhiteSpace (const char ch) |
| | Returns non-zero if ch is a white space / non-text character.
|
|
static DWORD | SkipWhiteSpace (LPCTSTR pBuf, UINT i) |
| | Returns the index of the first character that is not white space.
|
|
static UINT | SkipNonWhiteSpace (LPCTSTR pBuf, UINT i) |
| | Returns the index of the first character that is white space.
|
|
static UINT | NextToken (LPCTSTR pBuf, UINT i) |
| | Returns the index of the next sequence of non-whitespace characters.
|
|
static UINT | NextLine (LPCTSTR pBuf, UINT i) |
| | Returns the index of the next line after CRLF or LF.
|
|
static BOOL | FindChar (LPCTSTR pBuf, char ch) |
| | Returns non-zero if the specified character is found in the buffer.
|
|
static BOOL | FindChar (LPCTSTR pBuf, char ch, UINT uMax) |
| | Returns non-zero if the specified character is found in the buffer.
|
| static UINT | Skip (LPCTSTR pBuf, LPCTSTR pChars) |
| | Skips occurences of characters in pChars in pBuf.
|
| static UINT | FindChars (LPCTSTR pBuf, LPCTSTR pChars) |
| | Skips occurences of characters in pChars in pBuf.
|
Provides basic string parsing functions.