Public Types |
typedef size_t | size_type |
Public Methods |
| ptstring () |
| ptstring (const data_type *sc, size_type initlen) |
| ptstring (const ptstring &sc, size_type initlen) |
| ptstring (const data_type *sc) |
| ptstring (data_type c) |
| ptstring (const ptstring &s) |
| ptstring (const ptstring &s, size_type p, size_type len) |
| ptstring (size_type x, data_type f) |
| ptstring (const data_type *s1, size_type len1, const data_type *s2, size_type len2) |
| ~ptstring () |
size_type | length (const ptstring &s) |
size_type | length () const |
size_type | size () const |
size_type | refcount (const ptstring &s) |
void | assign (ptstring &s, const data_type *buf, size_type len) |
void | clear (ptstring &s) |
bool | empty () const |
bool | isempty (const ptstring &s) |
const data_type * | c_str () const |
size_type | find (const ptstring &s) const |
size_type | find (const ptstring &s, size_type p) const |
size_type | find_first_not_of (const ptstring &s) const |
size_type | find_first_of (const ptstring &s) const |
size_type | find_last_of (const data_type c) |
size_type | replace (size_type p, size_type cnt, const ptstring &s) |
bool | compare (const ptstring &s) const |
bool | compare (const data_type *s, size_type theStart, size_type theLength) |
bool | compare (size_type theStart, size_type theLength, const data_type *s) |
ptstring | substr (size_type position, size_type cnt) const |
ptstring | substr (size_t x) const |
bool | operator< (const ptstring &s) const |
bool | operator> (const ptstring &s) const |
bool | operator<= (const ptstring &s) const |
bool | operator>= (const ptstring &s) const |
ptstring & | operator= (const data_type *sc) |
ptstring & | operator= (data_type c) |
ptstring & | operator= (const ptstring &s) |
ptstring & | operator+= (const data_type *sc) |
ptstring & | operator+= (data_type c) |
ptstring & | operator+= (const ptstring &s) |
ptstring | operator+ (const data_type *sc) const |
PTSTRING_METHOD_DECL ptstring | operator+ (data_type c) const |
PTSTRING_METHOD_DECL ptstring | operator+ (const ptstring &s) const |
bool | operator== (const data_type *sc) const |
PTSTRING_METHOD_DECL bool | operator== (data_type) const |
PTSTRING_METHOD_DECL bool | operator== (const ptstring &) const |
bool | operator!= (const data_type *sc) const |
bool | operator!= (data_type c) const |
bool | operator!= (const ptstring &s) const |
data_type & | operator[] (const size_type i) |
const data_type & | operator[] (const size_type i) const |
Static Public Attributes |
PTSTRING_METHOD_DECL const
size_type | npos = static_cast<size_type>(-1) |
const size_type | strrecsize = sizeof(_strrec) |