se_core::PropertyHashTable Class Reference

#include <PropertyHashTable.hpp>

List of all members.

Public Types

typedef CompSchema::VoidList::iterator_type iterator_type

Public Member Functions

 PropertyHashTable ()
 PropertyHashTable (int size)
virtual ~PropertyHashTable ()
int tableIndex (int key) const
void initialize (int size=DEFAULT_HASH_TABLE_SIZE)
Propertyadd (Property &newNode)
Propertylookup (unsigned int key) const
iterator_type lookupList (unsigned int key)
Propertyremove (short key)
iterator_type hashTable (int index)
int tableSize ()
int count ()

Protected Types

enum  { DEFAULT_HASH_TABLE_SIZE = 16 }

Protected Member Functions

PropertylookupNode (unsigned int key) const

Protected Attributes

iterator_typehashTable_
int tableSize_
int count_


Member Typedef Documentation

typedef CompSchema::VoidList::iterator_type se_core::PropertyHashTable::iterator_type
 

Definition at line 34 of file PropertyHashTable.hpp.


Member Enumeration Documentation

anonymous enum [protected]
 

Enumeration values:
DEFAULT_HASH_TABLE_SIZE 

Definition at line 36 of file PropertyHashTable.hpp.


Constructor & Destructor Documentation

se_core::PropertyHashTable::PropertyHashTable  )  [inline]
 

Definition at line 46 of file PropertyHashTable.hpp.

se_core::PropertyHashTable::PropertyHashTable int  size  )  [inline]
 

Definition at line 51 of file PropertyHashTable.hpp.

virtual se_core::PropertyHashTable::~PropertyHashTable  )  [inline, virtual]
 

Definition at line 56 of file PropertyHashTable.hpp.


Member Function Documentation

Property* se_core::PropertyHashTable::add Property newNode  )  [inline]
 

Definition at line 91 of file PropertyHashTable.hpp.

References AssertFatal, se_core::Property::key(), and se_core::Property::name().

Referenced by se_core::StatComponentParser::parse().

int se_core::PropertyHashTable::count  )  [inline]
 

Definition at line 160 of file PropertyHashTable.hpp.

iterator_type se_core::PropertyHashTable::hashTable int  index  )  [inline]
 

Definition at line 149 of file PropertyHashTable.hpp.

void se_core::PropertyHashTable::initialize int  size = DEFAULT_HASH_TABLE_SIZE  )  [inline]
 

Definition at line 79 of file PropertyHashTable.hpp.

Property* se_core::PropertyHashTable::lookup unsigned int  key  )  const [inline]
 

Definition at line 110 of file PropertyHashTable.hpp.

iterator_type se_core::PropertyHashTable::lookupList unsigned int  key  )  [inline]
 

Definition at line 121 of file PropertyHashTable.hpp.

Property* se_core::PropertyHashTable::lookupNode unsigned int  key  )  const [inline, protected]
 

Definition at line 166 of file PropertyHashTable.hpp.

References se_core::Property::key().

Property* se_core::PropertyHashTable::remove short  key  )  [inline]
 

Definition at line 129 of file PropertyHashTable.hpp.

References se_core::Property::key().

int se_core::PropertyHashTable::tableIndex int  key  )  const [inline]
 

Definition at line 75 of file PropertyHashTable.hpp.

int se_core::PropertyHashTable::tableSize  )  [inline]
 

Definition at line 155 of file PropertyHashTable.hpp.


Member Data Documentation

int se_core::PropertyHashTable::count_ [protected]
 

Definition at line 42 of file PropertyHashTable.hpp.

iterator_type* se_core::PropertyHashTable::hashTable_ [protected]
 

Definition at line 40 of file PropertyHashTable.hpp.

int se_core::PropertyHashTable::tableSize_ [protected]
 

Definition at line 41 of file PropertyHashTable.hpp.


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

Home Page | SagaEngine trunk (updated nightly) reference generated Sun Dec 2 20:06:29 2007 by Doxygen version 1.3.9.1.

SourceForge.net Logo