| JsonCpp project page | JsonCpp home page |
Experimental: do not use. More...
#include <json/value.h>
Inheritance diagram for Json::ValueArrayAllocator:
Collaboration diagram for Json::ValueArrayAllocator:Public Member Functions | |
| virtual | ~ValueArrayAllocator () |
| virtual ValueInternalArray * | newArray ()=0 |
| virtual ValueInternalArray * | newArrayCopy (const ValueInternalArray &other)=0 |
| virtual void | destructArray (ValueInternalArray *array)=0 |
| virtual void | reallocateArrayPageIndex (Value **&indexes, ValueInternalArray::PageIndex &indexCount, ValueInternalArray::PageIndex minNewIndexCount)=0 |
| Reallocate array page index. More... | |
| virtual void | releaseArrayPageIndex (Value **indexes, ValueInternalArray::PageIndex indexCount)=0 |
| virtual Value * | allocateArrayPage ()=0 |
| virtual void | releaseArrayPage (Value *value)=0 |
Experimental: do not use.
Allocator to customize Value internal array. Below is an example of a simple implementation (actual implementation use memory pool).
|
virtual |
Definition at line 18 of file json_internalarray.inl.
|
pure virtual |
Referenced by Json::ValueInternalArray::ValueInternalArray().
Here is the caller graph for this function:
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
Reallocate array page index.
Reallocates an array of pointer on each page.
| indexes | [input] pointer on the current index. May be NULL. [output] pointer on the new index of at least minNewIndexCount pages. |
| indexCount | [input] current number of pages in the index. [output] number of page the reallocated index can handle. MUST be >= minNewIndexCount. |
| minNewIndexCount | Minimum number of page the new index must be able to handle. |
Referenced by Json::ValueInternalArray::ValueInternalArray().
Here is the caller graph for this function:
|
pure virtual |
Referenced by Json::ValueInternalArray::resize(), and Json::ValueInternalArray::~ValueInternalArray().
Here is the caller graph for this function:
|
pure virtual |
Referenced by Json::ValueInternalArray::~ValueInternalArray().
Here is the caller graph for this function:|
|
hosts this site. |
Send comments to: Json-cpp Developers |