Go to the source code of this file.
Namespaces | |
namespace | toolbox |
Defines | |
#define | _TB_ST_SIZEINCREMENT 16 |
The number of bytes to be allocated if the text does not fit into the buffer anymore. | |
#define | CLONE_STRING(attribute, value) |
#define | UPDATE_STRING(attribute, value) |
|
The number of bytes to be allocated if the text does not fit into the buffer anymore. Allocations are also aligned to multiples of this value. |
|
Value: { \ if ((attribute = new char[strlen(value) + 1]) == NULL) \ throw EOutOfMemory::Get(); \ strcpy(attribute, (value)); \ } |
|
Value: { \ if (attribute != NULL) {delete attribute;} \ if ((attribute = new char[strlen(value) + 1]) == NULL) \ throw EOutOfMemory::Get(); \ strcpy(attribute, (value)); \ } |