#include <psstring.h>
List of all members.
Public Types |
enum | { NO_PUNCT = 0,
INCLUDE_PUNCT = 1
} |
Public Member Functions |
size_t | FindCommonLength (const psString &other) const |
bool | FindNumber (unsigned int &pos, unsigned int &end) const |
bool | FindString (const char *border, unsigned int &pos, unsigned int &end) const |
int | FindSubString (const char *sub, size_t start=0, bool caseInsense=XML_CASE_SENSITIVE, bool wholeWord=false) const |
int | FindSubStringReverse (psString &sub, size_t start, bool caseInsense=XML_CASE_SENSITIVE) |
void | GetLine (size_t start, csString &line) const |
void | GetSubString (psString &str, size_t from, size_t to) const |
void | GetWord (size_t pos, psString &buff, bool wantPunct=INCLUDE_PUNCT) const |
void | GetWordNumber (int which, psString &buff) const |
bool | IsVowel (size_t pos) |
bool | operator< (const psString &other) const |
bool | operator== (const char *other) const |
bool | operator== (const psString &other) const |
int | PartialEquals (const psString &other) const |
psString & | Plural () |
| Check if a character is a vowel.
|
| psString (const csStringBase &str) |
| psString (const csString &str) |
| psString (const char *str) |
| psString () |
bool | ReplaceSubString (const char *what, const char *with) |
void | Split (csStringArray &result, char delim='|') |
| Turn the last word of the string into an English plural.
|
Detailed Description
Definition at line 37 of file psstring.h.
Member Enumeration Documentation
Constructor & Destructor Documentation
psString::psString |
( |
| ) |
[inline] |
psString::psString |
( |
const char * |
str | ) |
[inline] |
psString::psString |
( |
const csStringBase & |
str | ) |
[inline] |
psString::psString |
( |
const csString & |
str | ) |
[inline] |
Member Function Documentation
size_t psString::FindCommonLength |
( |
const psString & |
other | ) |
const |
int psString::FindSubString |
( |
const char * |
sub, |
|
|
size_t |
start = 0 , |
|
|
bool |
caseInsense = XML_CASE_SENSITIVE , |
|
|
bool |
wholeWord = false |
|
) |
| const |
int psString::FindSubStringReverse |
( |
psString & |
sub, |
|
|
size_t |
start, |
|
|
bool |
caseInsense = XML_CASE_SENSITIVE |
|
) |
| |
void psString::GetLine |
( |
size_t |
start, |
|
|
csString & |
line |
|
) |
| const |
void psString::GetSubString |
( |
psString & |
str, |
|
|
size_t |
from, |
|
|
size_t |
to |
|
) |
| const |
void psString::GetWord |
( |
size_t |
pos, |
|
|
psString & |
buff, |
|
|
bool |
wantPunct = INCLUDE_PUNCT |
|
) |
| const |
void psString::GetWordNumber |
( |
int |
which, |
|
|
psString & |
buff |
|
) |
| const |
bool psString::IsVowel |
( |
size_t |
pos | ) |
|
bool psString::operator< |
( |
const psString & |
other | ) |
const [inline] |
bool psString::operator== |
( |
const psString & |
other | ) |
const [inline] |
bool psString::operator== |
( |
const char * |
other | ) |
const [inline] |
int psString::PartialEquals |
( |
const psString & |
other | ) |
const [inline] |
Check if a character is a vowel.
bool psString::ReplaceSubString |
( |
const char * |
what, |
|
|
const char * |
with |
|
) |
| |
void psString::Split |
( |
csStringArray & |
result, |
|
|
char |
delim = '|' |
|
) |
| |
Turn the last word of the string into an English plural.
The documentation for this class was generated from the following file: