JsonCpp project page | JsonCpp home page |
Allocator to customize Value internal map. More...
#include <json/value.h>
Inherited by Json::DefaultValueMapAllocator.
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 43 of file json_internalmap.inl.
|
pure virtual |
Referenced by Json::ValueInternalMap::reserve().
|
pure virtual |
Referenced by Json::ValueInternalMap::unsafeAdd().
|
pure virtual |
Referenced by Json::Value::~Value().
|
pure virtual |
Referenced by Json::Value::Value().
|
pure virtual |
Referenced by Json::Value::Value().
|
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 |