string class that uses an array of static size to hold the characters More...
#include <fixed_string.hh>
Public Member Functions | |
FixedString () | |
FixedString (const String &str) | |
FixedString (const char *str) | |
size_t | length () const |
size_t | size () const |
char | operator[] (size_t index) const |
char & | operator[] (size_t index) |
bool | operator== (const String &rhs) const |
bool | operator!= (const String &rhs) const |
bool | operator== (const FixedString< LENGTH > &rhs) const |
bool | operator!= (const FixedString< LENGTH > &rhs) const |
size_t | capacity () const |
FixedString< LENGTH > & | operator= (const String &rhs) |
template<typename DS > | |
void | Serialize (DS &ds) |
const char * | c_str () const |
char * | data () |
const char * | data () const |
string class that uses an array of static size to hold the characters
Definition at line 13 of file fixed_string.hh.
FixedString | ( | ) | [inline] |
Definition at line 15 of file fixed_string.hh.
FixedString | ( | const String & | str | ) | [inline, explicit] |
Definition at line 19 of file fixed_string.hh.
FixedString | ( | const char * | str | ) | [inline, explicit] |
Definition at line 23 of file fixed_string.hh.
const char* c_str | ( | ) | const [inline] |
Definition at line 70 of file fixed_string.hh.
size_t capacity | ( | ) | const [inline] |
Definition at line 58 of file fixed_string.hh.
const char* data | ( | ) | const [inline] |
Definition at line 74 of file fixed_string.hh.
char* data | ( | ) | [inline] |
Definition at line 73 of file fixed_string.hh.
size_t length | ( | ) | const [inline] |
Definition at line 28 of file fixed_string.hh.
bool operator!= | ( | const FixedString< LENGTH > & | rhs | ) | const [inline] |
Definition at line 55 of file fixed_string.hh.
bool operator!= | ( | const String & | rhs | ) | const [inline] |
Definition at line 48 of file fixed_string.hh.
FixedString<LENGTH>& operator= | ( | const String & | rhs | ) | [inline] |
Definition at line 61 of file fixed_string.hh.
bool operator== | ( | const FixedString< LENGTH > & | rhs | ) | const [inline] |
Definition at line 51 of file fixed_string.hh.
bool operator== | ( | const String & | rhs | ) | const [inline] |
Definition at line 44 of file fixed_string.hh.
char& operator[] | ( | size_t | index | ) | [inline] |
Definition at line 40 of file fixed_string.hh.
char operator[] | ( | size_t | index | ) | const [inline] |
Definition at line 36 of file fixed_string.hh.
void Serialize | ( | DS & | ds | ) | [inline] |
Definition at line 67 of file fixed_string.hh.
size_t size | ( | ) | const [inline] |
Definition at line 32 of file fixed_string.hh.