Public Types | Public Member Functions
Json::ValueAllocator Class Reference

Experimental do not use: Allocator to customize member name and string value memory management done by Value. More...

#include <value.h>

Inheritance diagram for Json::ValueAllocator:
Inheritance graph
[legend]

List of all members.

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 ()

Detailed Description

Experimental do not use: Allocator to customize member name and string value memory management done by Value.

Definition at line 523 of file value.h.


Member Enumeration Documentation

anonymous enum
Enumerator:
unknown 

Definition at line 526 of file value.h.


Constructor & Destructor Documentation

Definition at line 55 of file json_value.cpp.


Member Function Documentation

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.


The documentation for this class was generated from the following files:


bwi_tools
Author(s): Piyush Khandelwal
autogenerated on Fri Aug 28 2015 10:14:30