All Classes |Grouped Classes |Index

Class CL_StringAllocator

Allocate strings in blocks. More...

Derived from:

None

Derived by:

None

Group:

Text (Core)

#include <ClanLib/core.h>

Class Members:

Construction:

CL_StringAllocator


Operations:

alloc

Alloc.

alloc8

Alloc8.

alloc16

Alloc16.

clear

Clear.

Detailed description:

This class allows you to efficiently allocate strings. Instead of using the default new operator, this class allocates string data in blocks. The temporary strings returned by the class remain valid as long as the CL_StringAllocator stays valid, or until clear() is called.