JsonCpp project page JsonCpp home page

Public Types | Public Member Functions | Public Attributes | List of all members
Json::ValueInternalLink Class Reference

ValueInternalMap hash-map bucket chain link (for internal use only). More...

#include <json/value.h>

Public Types

enum  { itemPerLink = 6 }
 
enum  InternalFlags { flagAvailable = 0, flagUsed = 1 }
 

Public Member Functions

 ValueInternalLink ()
 
 ~ValueInternalLink ()
 

Public Attributes

Value items_ [itemPerLink]
 
char * keys_ [itemPerLink]
 
ValueInternalLinkprevious_
 
ValueInternalLinknext_
 

Detailed Description

ValueInternalMap hash-map bucket chain link (for internal use only).

previous_ & next_ allows for bidirectional traversal.

Definition at line 632 of file value.h.

Member Enumeration Documentation

anonymous enum
Enumerator
itemPerLink 

Definition at line 635 of file value.h.

Enumerator
flagAvailable 
flagUsed 

Definition at line 636 of file value.h.

Constructor & Destructor Documentation

Json::ValueInternalLink::ValueInternalLink ( )

MUST be safely initialized using memset( this, 0, sizeof(ValueInternalLink) ); This optimization is used by the fast allocator.

Definition at line 21 of file json_internalmap.inl.

Json::ValueInternalLink::~ValueInternalLink ( )

Definition at line 27 of file json_internalmap.inl.

References itemPerLink, items_, and keys_.

Member Data Documentation

Value Json::ValueInternalLink::items_[itemPerLink]
char* Json::ValueInternalLink::keys_[itemPerLink]

Definition at line 646 of file value.h.

Referenced by Json::ValueInternalMap::setNewItem(), and ~ValueInternalLink().

ValueInternalLink* Json::ValueInternalLink::next_
ValueInternalLink* Json::ValueInternalLink::previous_

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

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