Json::ValueAllocator Class Reference
Allocator to customize member name and string value memory management done by
Value.
More...
#include <jsoncpp/include/json/value.h>
Inherited by Json::DefaultValueAllocator.
List of all members.
|
Public Types |
enum | { unknown = (unsigned)-1
} |
Public Member Functions |
virtual char * | makeMemberName (const char *memberName)=0 |
virtual void | releaseMemberName (char *memberName)=0 |
virtual char * | duplicateStringValue (const char *value, unsigned int length=unknown)=0 |
virtual void | releaseStringValue (char *value)=0 |
Detailed Description
Allocator to customize member name and string value memory management done by
Value.
- makeMemberName() and releaseMemberName() are called to respectively duplicate and free an Json::objectValue member name.
- duplicateStringValue() and releaseStringValue() are called similarly to duplicate and free a Json::stringValue value.
The documentation for this class was generated from the following files:
- jsoncpp/include/json/value.h
- jsoncpp/src/lib_json/json_value.cpp