|
| pstring (const char *_pos) |
|
| pstring (const char *_pos, size_t _size) |
|
| pstring (const std::string &s) |
|
::std::string | str () const |
|
size_t | size () const |
|
const char & | operator[] (size_t idx) const |
|
pstring & | operator= (const pstring &r) |
|
const char * | get () const |
|
const char * | data () const |
|
bool | operator== (const pstring &r) const |
|
bool | operator!= (const pstring &r) const |
|
bool | operator< (const pstring &r) const |
|
bool | operator== (const char *_str) const |
|
bool | operator!= (const char *_str) const |
|
pstring | trim () const |
|
bool | empty () const |
|
void | clear () |
|
void | resize (size_t new_size) |
|
This string class does not have its own char array buffer; it only stores the memory position of the first char of an existing char array and its size. When using this class, it is important that the string object being referenced by an instance of this class will stay valid during its life time.