#include <Strings.hpp>
Public Member Functions | |
tCharPtr | getData () const |
Get a pointer on the data. | |
const int | getLength () const |
Get the string length. | |
bool | limitTo (const int newLength) |
Limit the string length to the given value. | |
const bool | operator!= (const VerySimpleReadOnlyString ©) const |
Inverted compare operator. | |
const bool | operator== (const VerySimpleReadOnlyString ©) const |
Compare operator. | |
VerySimpleReadOnlyString (const VerySimpleReadOnlyString ©) | |
Copy constructor. | |
VerySimpleReadOnlyString (tCharPtr _data=0, const int _length=-1) | |
Default constructor. | |
~VerySimpleReadOnlyString () | |
The destructor. |
Strings::VerySimpleReadOnlyString::VerySimpleReadOnlyString | ( | tCharPtr | _data = 0 , |
|
const int | _length = -1 | |||
) | [inline] |
Default constructor.
Strings::VerySimpleReadOnlyString::~VerySimpleReadOnlyString | ( | ) | [inline] |
The destructor.
Strings::VerySimpleReadOnlyString::VerySimpleReadOnlyString | ( | const VerySimpleReadOnlyString & | copy | ) | [inline] |
Copy constructor.
tCharPtr Strings::VerySimpleReadOnlyString::getData | ( | ) | const [inline] |
Get a pointer on the data.
const int Strings::VerySimpleReadOnlyString::getLength | ( | ) | const [inline] |
Get the string length.
bool Strings::VerySimpleReadOnlyString::limitTo | ( | const int | newLength | ) | [inline] |
Limit the string length to the given value.
newLength | the new length |
const bool Strings::VerySimpleReadOnlyString::operator!= | ( | const VerySimpleReadOnlyString & | copy | ) | const [inline] |
Inverted compare operator.
const bool Strings::VerySimpleReadOnlyString::operator== | ( | const VerySimpleReadOnlyString & | copy | ) | const [inline] |
Compare operator.