Json::ValueInternalMap Class Reference

A linked page based hash-table implementation used internally by Value. More...

#include <value.h>

List of all members.

Classes

struct  IteratorState

Public Types

typedef unsigned int HashKey
typedef unsigned int BucketIndex

Public Member Functions

 ValueInternalMap ()
 ValueInternalMap (const ValueInternalMap &other)
ValueInternalMapoperator= (const ValueInternalMap &other)
 ~ValueInternalMap ()
void swap (ValueInternalMap &other)
BucketIndex size () const
void clear ()
bool reserveDelta (BucketIndex growth)
bool reserve (BucketIndex newItemCount)
const Valuefind (const char *key) const
Valuefind (const char *key)
ValueresolveReference (const char *key, bool isStatic)
void remove (const char *key)
void doActualRemove (ValueInternalLink *link, BucketIndex index, BucketIndex bucketIndex)
ValueInternalLink *& getLastLinkInBucket (BucketIndex bucketIndex)
ValuesetNewItem (const char *key, bool isStatic, ValueInternalLink *link, BucketIndex index)
ValueunsafeAdd (const char *key, bool isStatic, HashKey hashedKey)
HashKey hash (const char *key) const
int compare (const ValueInternalMap &other) const

Friends

class ValueIteratorBase
class Value

Detailed Description

A linked page based hash-table implementation used internally by Value.


Member Typedef Documentation

typedef unsigned int Json::ValueInternalMap::HashKey

Constructor & Destructor Documentation

Json::ValueInternalMap::ValueInternalMap (  ) 
Json::ValueInternalMap::ValueInternalMap ( const ValueInternalMap other  ) 
Json::ValueInternalMap::~ValueInternalMap (  ) 

Member Function Documentation

ValueInternalMap & Json::ValueInternalMap::operator= ( const ValueInternalMap other  ) 
void Json::ValueInternalMap::swap ( ValueInternalMap other  ) 
ValueInternalMap::BucketIndex Json::ValueInternalMap::size (  )  const
void Json::ValueInternalMap::clear (  ) 
bool Json::ValueInternalMap::reserveDelta ( BucketIndex  growth  ) 
bool Json::ValueInternalMap::reserve ( BucketIndex  newItemCount  ) 
const Value * Json::ValueInternalMap::find ( const char *  key  )  const
Value * Json::ValueInternalMap::find ( const char *  key  ) 
Value & Json::ValueInternalMap::resolveReference ( const char *  key,
bool  isStatic 
)
void Json::ValueInternalMap::remove ( const char *  key  ) 
void Json::ValueInternalMap::doActualRemove ( ValueInternalLink link,
BucketIndex  index,
BucketIndex  bucketIndex 
)
ValueInternalLink *& Json::ValueInternalMap::getLastLinkInBucket ( BucketIndex  bucketIndex  ) 
Value & Json::ValueInternalMap::setNewItem ( const char *  key,
bool  isStatic,
ValueInternalLink link,
BucketIndex  index 
)
Value & Json::ValueInternalMap::unsafeAdd ( const char *  key,
bool  isStatic,
HashKey  hashedKey 
)
ValueInternalMap::HashKey Json::ValueInternalMap::hash ( const char *  key  )  const
int Json::ValueInternalMap::compare ( const ValueInternalMap other  )  const

Friends And Related Function Documentation

friend class ValueIteratorBase [friend]
friend class Value [friend]

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