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:

[legend]
List of all members.

Public Types

 itemPerLink = 6
 flagAvailable = 0
 flagUsed = 1
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.

enum Json::ValueInternalLink::InternalFlags

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

Value Json::ValueInternalLink::items_[itemPerLink]

Definition at line 645 of file value.h.

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

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

Definition at line 646 of file value.h.

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

ValueInternalLink* Json::ValueInternalLink::next_

Definition at line 648 of file value.h.

Referenced by Json::ValueInternalMap::doActualRemove(), Json::ValueInternalMap::find(), Json::ValueInternalMap::remove(), Json::ValueInternalMap::resolveReference(), Json::ValueInternalMap::unsafeAdd(), and Json::ValueInternalMap::~ValueInternalMap().

ValueInternalLink* Json::ValueInternalLink::previous_

Definition at line 647 of file value.h.

Referenced by Json::ValueInternalMap::doActualRemove(), and Json::ValueInternalMap::getLastLinkInBucket().


The documentation for this class was generated from the following files:
SourceForge Logo hosts this site. Send comments to:
Json-cpp Developers