JsonCpp project page JsonCpp home page

Json::ValueAllocator Class Reference

Allocator to customize member name and string value memory management done by Value. More...

#include <json/value.h>

Inherited by Json::DefaultValueAllocator.

List of all members.

Public Types

enum  { unknown = (unsigned)-1 }

Public Member Functions

virtual ~ValueAllocator ()
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.

Definition at line 522 of file value.h.


Member Enumeration Documentation

anonymous enum

Enumerator:
unknown 

Definition at line 525 of file value.h.


Constructor & Destructor Documentation

Json::ValueAllocator::~ValueAllocator (  )  [virtual]

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]

virtual char* Json::ValueAllocator::makeMemberName ( const char *  memberName  )  [pure virtual]

virtual void Json::ValueAllocator::releaseMemberName ( char *  memberName  )  [pure virtual]

virtual void Json::ValueAllocator::releaseStringValue ( char *  value  )  [pure virtual]


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

SourceForge Logo hosts this site. Send comments to:
Json-cpp Developers