Implements a framework for string manipulation that operates directly on C strings.
More...
#include <NeoString.h>
Implements a framework for string manipulation that operates directly on C strings.
Neo::String::String |
( |
void |
| ) |
|
Neo::String::String |
( |
const char * |
data | ) |
|
Neo::String::String |
( |
const String & |
string | ) |
|
Neo::String::~String |
( |
void |
| ) |
|
void Neo::String::clear |
( |
void |
| ) |
|
const char* Neo::String::getData |
( |
void |
| ) |
|
|
inline |
Returns the current internal string buffer. Attention: Might return NULL!
- Returns
- The internal string buffer
const char* Neo::String::getSafeString |
( |
void |
| ) |
|
Returns the C string. This method is ensured to return a valid C string and never NULL.
- Returns
- The C string
void Neo::String::operator= |
( |
const String & |
string | ) |
|
|
inline |
void Neo::String::operator= |
( |
const char * |
data | ) |
|
|
inline |
void Neo::String::set |
( |
const char * |
data | ) |
|
Copies the given string to the internal buffer.
- Parameters
-
The documentation for this class was generated from the following file: