Classes | |
struct | BatchInfo |
Public Types | |
typedef AllocatedType | Type |
Public Member Functions | |
AllocatedType * | allocate () |
BatchAllocator (unsigned int objectsPerPage=255) | |
void | release (AllocatedType *object) |
~BatchAllocator () | |
Private Member Functions | |
BatchAllocator (const BatchAllocator &) | |
void | operator= (const BatchAllocator &) |
Static Private Member Functions | |
static BatchInfo * | allocateBatch (unsigned int objectsPerPage) |
Private Attributes | |
BatchInfo * | batches_ |
BatchInfo * | currentBatch_ |
AllocatedType * | freeHead_ |
Head of a single linked list within the allocated space of freeed object. More... | |
unsigned int | objectsPerPage_ |
Definition at line 1113 of file jsoncpp.cpp.
typedef AllocatedType Json::BatchAllocator< AllocatedType, objectPerAllocation >::Type |
Definition at line 1116 of file jsoncpp.cpp.
|
inline |
Definition at line 1118 of file jsoncpp.cpp.
|
inline |
Definition at line 1129 of file jsoncpp.cpp.
|
private |
|
inline |
allocate space for an array of objectPerAllocation object.
Definition at line 1141 of file jsoncpp.cpp.
|
inlinestaticprivate |
Definition at line 1189 of file jsoncpp.cpp.
|
private |
|
inline |
Release the object.
Definition at line 1169 of file jsoncpp.cpp.
|
private |
Definition at line 1200 of file jsoncpp.cpp.
|
private |
Definition at line 1201 of file jsoncpp.cpp.
|
private |
Head of a single linked list within the allocated space of freeed object.
Definition at line 1203 of file jsoncpp.cpp.
|
private |
Definition at line 1204 of file jsoncpp.cpp.