test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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)=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.

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