Inheritance diagram for Exponent::Basics::CPascalString:

Represents a string as a pascal style string with string[0] = sizeof the string
Definition at line 37 of file CPascalString.hpp.
| Exponent::Basics::CPascalString::CPascalString | ( | const char * | string = " ", |
|
| const long | size = 256 | |||
| ) |
Construction
| string | The c style string (NULL terminated) that you want to conver to a pascal style string | |
| size | The maximum internal size of the string (MacOsX requires 256) |
| virtual Exponent::Basics::CPascalString::~CPascalString | ( | ) | [virtual] |
Destructor
| char* Exponent::Basics::CPascalString::getString | ( | ) | const |
Get the string
| char* | A pointer to the internal string buffer |
| const unsigned char* Exponent::Basics::CPascalString::getUnsignedConstString | ( | ) | const |
Get the string as an unsigned char *
| const | unsigned char* A Pointer to the string cast to unsigned char* |
| void Exponent::Basics::CPascalString::setString | ( | const char * | string, | |
| const long | size = 256 | |||
| ) |
Set the string
| string | The string that you want to store | |
| size | The maximum internal size of the string (MacOsX requires 256) |
char* Exponent::Basics::CPascalString::m_string [protected] |
The string we are storing
Definition at line 88 of file CPascalString.hpp.