JsonCpp project page JsonCpp home page

Json::ValueInternalLink Class Reference

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

#include <json/value.h>

Collaboration diagram for Json::ValueInternalLink:

Collaboration graph
[legend]

List of all members.

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

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

For internal use only.

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

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

Definition at line 646 of file value.h.

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


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

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