Experimental do not use: Allocator to customize member name and string value memory management done by Value. More...
#include <value.h>
Public Types | |
enum | { unknown = (unsigned)-1 } |
Public Member Functions | |
virtual char * | duplicateStringValue (const char *value, unsigned int length=unknown)=0 |
virtual char * | makeMemberName (const char *memberName)=0 |
virtual void | releaseMemberName (char *memberName)=0 |
virtual void | releaseStringValue (char *value)=0 |
virtual | ~ValueAllocator () |
Experimental do not use: Allocator to customize member name and string value memory management done by Value.
Json::ValueAllocator::~ValueAllocator | ( | ) | [virtual] |
Definition at line 55 of file json_value.cpp.
virtual char* Json::ValueAllocator::duplicateStringValue | ( | const char * | value, |
unsigned int | length = unknown |
||
) | [pure virtual] |
Implemented in Json::DefaultValueAllocator.
virtual char* Json::ValueAllocator::makeMemberName | ( | const char * | memberName | ) | [pure virtual] |
Implemented in Json::DefaultValueAllocator.
virtual void Json::ValueAllocator::releaseMemberName | ( | char * | memberName | ) | [pure virtual] |
Implemented in Json::DefaultValueAllocator.
virtual void Json::ValueAllocator::releaseStringValue | ( | char * | value | ) | [pure virtual] |
Implemented in Json::DefaultValueAllocator.