JsonCpp project page | JsonCpp home page |
Allocator to customize Value internal map. More...
#include </home/iurt/rpmbuild/BUILD/jsoncpp-src-0.5.0/include/json/value.h>
Public Member Functions | |
virtual | ~ValueMapAllocator () |
virtual ValueInternalMap * | newMap ()=0 |
virtual ValueInternalMap * | newMapCopy (const ValueInternalMap &other)=0 |
virtual void | destructMap (ValueInternalMap *map)=0 |
virtual ValueInternalLink * | allocateMapBuckets (unsigned int size)=0 |
virtual void | releaseMapBuckets (ValueInternalLink *links)=0 |
virtual ValueInternalLink * | allocateMapLink ()=0 |
virtual void | releaseMapLink (ValueInternalLink *link)=0 |
Allocator to customize Value internal map.
Below is an example of a simple implementation (default implementation actually use memory pool for speed).
|
virtual |
Definition at line 37 of file json_internalmap.inl.
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
Referenced by Json::ValueInternalMap::~ValueInternalMap().
|
pure virtual |
Referenced by Json::ValueInternalMap::doActualRemove(), and Json::ValueInternalMap::~ValueInternalMap().
|
hosts this site. |
Send comments to: Json-cpp Developers |