CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions
Json::ValueAllocator Class Referenceabstract

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) const =0
 
virtual char * makeMemberName (const char *memberName) const =0
 
virtual void releaseMemberName (char *memberName) const =0
 
virtual void releaseStringValue (char *value) const =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.

526 { unknown = (unsigned)-1 };

Constructor & Destructor Documentation

virtual Json::ValueAllocator::~ValueAllocator ( )
virtual

Member Function Documentation

virtual char* Json::ValueAllocator::duplicateStringValue ( const char *  value,
unsigned int  length = unknown 
) const
pure virtual
virtual char* Json::ValueAllocator::makeMemberName ( const char *  memberName) const
pure virtual
virtual void Json::ValueAllocator::releaseMemberName ( char *  memberName) const
pure virtual
virtual void Json::ValueAllocator::releaseStringValue ( char *  value) const
pure virtual