#include <simple_string.hpp>
Public Member Functions | |
const char * | data () const |
char * | data () |
SimpleString (const std::string &str) | |
SimpleString (const char *input_data) | |
SimpleString (const char *input_data, std::size_t size) | |
SimpleString (const SimpleString &other) | |
std::size_t | size () const |
std::string | toStdString () const |
~SimpleString () | |
Private Attributes | |
union { | |
char * ptr | |
char soo [sizeof(void *)] | |
} | _data |
std::size_t | _size |
Definition at line 10 of file simple_string.hpp.
SafeAny::SimpleString::SimpleString | ( | const std::string & | str | ) | [inline] |
Definition at line 13 of file simple_string.hpp.
SafeAny::SimpleString::SimpleString | ( | const char * | input_data | ) | [inline] |
Definition at line 16 of file simple_string.hpp.
SafeAny::SimpleString::SimpleString | ( | const char * | input_data, |
std::size_t | size | ||
) | [inline] |
Definition at line 20 of file simple_string.hpp.
SafeAny::SimpleString::SimpleString | ( | const SimpleString & | other | ) | [inline] |
Definition at line 30 of file simple_string.hpp.
SafeAny::SimpleString::~SimpleString | ( | ) | [inline] |
Definition at line 34 of file simple_string.hpp.
const char* SafeAny::SimpleString::data | ( | ) | const [inline] |
Definition at line 47 of file simple_string.hpp.
char* SafeAny::SimpleString::data | ( | ) | [inline] |
Definition at line 58 of file simple_string.hpp.
std::size_t SafeAny::SimpleString::size | ( | ) | const [inline] |
Definition at line 69 of file simple_string.hpp.
std::string SafeAny::SimpleString::toStdString | ( | ) | const [inline] |
Definition at line 42 of file simple_string.hpp.
union { ... } SafeAny::SimpleString::_data [private] |
std::size_t SafeAny::SimpleString::_size [private] |
Definition at line 80 of file simple_string.hpp.
Definition at line 76 of file simple_string.hpp.
char SafeAny::SimpleString::soo[sizeof(void *)] |
Definition at line 77 of file simple_string.hpp.