#include <OpenGUI_Resource.h>
Inheritance diagram for OpenGUI::Resource_CStr:

Public Member Functions | |
| virtual void | setData (unsigned char *newData, size_t newSize) |
| just as Resource::setData(), but allocates 1 additional byte for holding the '\0' cstring terminator | |
| char * | getString () |
| get the contents of the buffer as a cstring | |
| virtual void | setSize (size_t size) |
| again, allocates the requested buffer size, destroys existing data. Allocates 1 additional byte for cstring terminator | |
|
|
get the contents of the buffer as a cstring
|
|
||||||||||||
|
just as Resource::setData(), but allocates 1 additional byte for holding the '\0' cstring terminator
Reimplemented from OpenGUI::Resource. |
|
|
again, allocates the requested buffer size, destroys existing data. Allocates 1 additional byte for cstring terminator
Reimplemented from OpenGUI::Resource. |