#include <sspt_substring.h>
Public Types | |
enum | StorageHint { STORAGE_HINT_INPLACE, STORAGE_HINT_COPY } |
Public Member Functions | |
sspt_Substring () | |
sspt_Substring (const char *start, enum StorageHint hint=STORAGE_HINT_INPLACE) | |
sspt_Substring (const char *start, size_t n, enum StorageHint hint=STORAGE_HINT_INPLACE) | |
sspt_Substring (const char *start, const char *end, enum StorageHint hint=STORAGE_HINT_INPLACE) | |
sspt_Substring (const sspt_Substring &s) | |
~sspt_Substring () | |
sspt_Substring & | operator= (const sspt_Substring &s) |
sspt_Substring & | operator= (const char *s) |
size_t | size () const |
bool | operator== (const sspt_Substring &s) const |
bool | operator== (const char *s) const |
bool | operator< (const sspt_Substring &s) const |
bool | operator> (const sspt_Substring &s) const |
char | operator[] (size_t i) const |
operator size_t () const |
sspt_Substring::sspt_Substring | ( | ) |
sspt_Substring::sspt_Substring | ( | const char * | start, | |
enum StorageHint | hint = STORAGE_HINT_INPLACE | |||
) | [explicit] |
sspt_Substring::sspt_Substring | ( | const char * | start, | |
size_t | n, | |||
enum StorageHint | hint = STORAGE_HINT_INPLACE | |||
) |
sspt_Substring::sspt_Substring | ( | const char * | start, | |
const char * | end, | |||
enum StorageHint | hint = STORAGE_HINT_INPLACE | |||
) |
sspt_Substring::sspt_Substring | ( | const sspt_Substring & | s | ) |
sspt_Substring::~sspt_Substring | ( | ) |
sspt_Substring::operator size_t | ( | ) | const |
bool sspt_Substring::operator< | ( | const sspt_Substring & | s | ) | const |
sspt_Substring& sspt_Substring::operator= | ( | const char * | s | ) |
sspt_Substring& sspt_Substring::operator= | ( | const sspt_Substring & | s | ) |
bool sspt_Substring::operator== | ( | const char * | s | ) | const |
bool sspt_Substring::operator== | ( | const sspt_Substring & | s | ) | const |
bool sspt_Substring::operator> | ( | const sspt_Substring & | s | ) | const |
char sspt_Substring::operator[] | ( | size_t | i | ) | const [inline] |
size_t sspt_Substring::size | ( | ) | const [inline] |