Torque2D Reference

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions | List of all members
DefaultValueArrayAllocator Class Reference
Inheritance diagram for DefaultValueArrayAllocator:

## Public Member Functions
virtual | ~DefaultValueArrayAllocator ()
virtual ValueInternalArray * | newArray ()
virtual ValueInternalArray * | newArrayCopy (const ValueInternalArray &other)
virtual void | destructArray (ValueInternalArray *array)
virtual void | reallocateArrayPageIndex (Value **&indexes, ValueInternalArray::PageIndex &indexCount, ValueInternalArray::PageIndex minNewIndexCount)
virtual void | releaseArrayPageIndex (Value **indexes, ValueInternalArray::PageIndex indexCount)
virtual Value * | allocateArrayPage ()
virtual void | releaseArrayPage (Value *value)

## Detailed Description

Todo:
  make this thread-safe (lock when accessign batch allocator)

## Constructor & Destructor Documentation

virtual ~DefaultValueArrayAllocator | ( |  | ) |
| inline virtual

## Member Function Documentation

virtual Value* allocateArrayPage | ( |  | ) |
| inline virtual

virtual void destructArray | ( | ValueInternalArray * | array | ) |
| inline virtual

virtual ValueInternalArray* newArray | ( |  | ) |
| inline virtual

virtual ValueInternalArray* newArrayCopy | ( | const ValueInternalArray & | other | ) |
| inline virtual

virtual void reallocateArrayPageIndex | ( | Value **& | indexes,
|  | ValueInternalArray::PageIndex & | indexCount,
|  | ValueInternalArray::PageIndex | minNewIndexCount
| ) |  |
| inline virtual

virtual void releaseArrayPage | ( | Value * | value | ) |
| inline virtual

virtual void releaseArrayPageIndex | ( | Value ** | indexes,
|  | ValueInternalArray::PageIndex | indexCount
| ) |  |
| inline virtual

The documentation for this class was generated from the following file:

- persistence/rapidjson/thirdparty/jsoncpp/src/lib_json/json_internalarray.inl