sourCEntral - mobile manpages

pdf

ost::StringObject

NAME

ost::StringObject −

The StringObject class is used to derive subclasses that use the String managed memory pool for all space allocations by overriding new and delete operators.

SYNOPSIS

#include <string.h>

Public Member Functions

void * operator new (size_t size) throw ()
Create a new object in string managed space.

void operator delete (void *obj)
Delete object from string managed space.

Detailed Description

The StringObject class is used to derive subclasses that use the String managed memory pool for all space allocations by overriding new and delete operators.

Due to size limits, StringObject should not hold very large objects.

Author:

David Sugar <dyfet AT ostel DOT com> Objects managed in reusable String memory pools

Member Function Documentation

void ost::StringObject::operator delete (void * obj)
Delete object from string managed space.

void* ost::StringObject::operator new (size_t size) throw ()
Create a new object in string managed space.

Author

Generated automatically by Doxygen for GNU CommonC++ from the source code.

pdf