Bike-X  0.8
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
OVR::Hash< C, U, HashF, Allocator, HashNode, Entry, Container > Class Template Reference

#include "OVR_Hash.h"

Inheritance diagram for OVR::Hash< C, U, HashF, Allocator, HashNode, Entry, Container >:
Inheritance graph
Collaboration diagram for OVR::Hash< C, U, HashF, Allocator, HashNode, Entry, Container >:
Collaboration graph

Public Types

typedef U ValueType
 
typedef Hash< C, U, HashF,
Allocator, HashNode, Entry,
Container > 
SelfType
 
typedef Container::ConstIterator ConstIterator
 
typedef Container::Iterator Iterator
 

Public Member Functions

 Hash ()
 
 Hash (int sizeHint)
 
 Hash (const SelfType &src)
 
 ~Hash ()
 
void operator= (const SelfType &src)
 
void Clear ()
 
bool IsEmpty () const
 
void Set (const C &key, const U &value)
 
void Add (const C &key, const U &value)
 
void Remove (const C &key)
 
template<class K >
void RemoveAlt (const K &key)
 
bool Get (const C &key, U *pvalue) const
 
template<class K >
bool GetAlt (const K &key, U *pvalue) const
 
U * Get (const C &key)
 
const U * Get (const C &key) const
 
template<class K >
U * GetAlt (const K &key)
 
template<class K >
const U * GetAlt (const K &key) const
 
UPInt GetSize () const
 
void Resize (UPInt n)
 
void SetCapacity (UPInt newSize)
 
Iterator Begin ()
 
Iterator End ()
 
ConstIterator Begin () const
 
ConstIterator End () const
 
Iterator Find (const C &key)
 
ConstIterator Find (const C &key) const
 
template<class K >
Iterator FindAlt (const K &key)
 
template<class K >
ConstIterator FindAlt (const K &key) const
 

Data Fields

Container mHash
 

Detailed Description

template<class C, class U, class HashF = FixedSizeHash<C>, class Allocator = ContainerAllocator<C>, class HashNode = OVR::HashNode<C,U,HashF>, class Entry = HashsetCachedNodeEntry<HashNode, typename HashNode::NodeHashF>, class Container = HashSet<HashNode, typename HashNode::NodeHashF, typename HashNode::NodeAltHashF, Allocator, Entry>>
class OVR::Hash< C, U, HashF, Allocator, HashNode, Entry, Container >

Definition at line 1125 of file OVR_Hash.h.

Member Typedef Documentation

template<class C, class U, class HashF = FixedSizeHash<C>, class Allocator = ContainerAllocator<C>, class HashNode = OVR::HashNode<C,U,HashF>, class Entry = HashsetCachedNodeEntry<HashNode, typename HashNode::NodeHashF>, class Container = HashSet<HashNode, typename HashNode::NodeHashF, typename HashNode::NodeAltHashF, Allocator, Entry>>
typedef Container::ConstIterator OVR::Hash< C, U, HashF, Allocator, HashNode, Entry, Container >::ConstIterator

Definition at line 1235 of file OVR_Hash.h.

template<class C, class U, class HashF = FixedSizeHash<C>, class Allocator = ContainerAllocator<C>, class HashNode = OVR::HashNode<C,U,HashF>, class Entry = HashsetCachedNodeEntry<HashNode, typename HashNode::NodeHashF>, class Container = HashSet<HashNode, typename HashNode::NodeHashF, typename HashNode::NodeAltHashF, Allocator, Entry>>
typedef Container::Iterator OVR::Hash< C, U, HashF, Allocator, HashNode, Entry, Container >::Iterator

Definition at line 1236 of file OVR_Hash.h.

template<class C, class U, class HashF = FixedSizeHash<C>, class Allocator = ContainerAllocator<C>, class HashNode = OVR::HashNode<C,U,HashF>, class Entry = HashsetCachedNodeEntry<HashNode, typename HashNode::NodeHashF>, class Container = HashSet<HashNode, typename HashNode::NodeHashF, typename HashNode::NodeAltHashF, Allocator, Entry>>
typedef Hash<C, U, HashF, Allocator, HashNode, Entry, Container> OVR::Hash< C, U, HashF, Allocator, HashNode, Entry, Container >::SelfType

Definition at line 1132 of file OVR_Hash.h.

template<class C, class U, class HashF = FixedSizeHash<C>, class Allocator = ContainerAllocator<C>, class HashNode = OVR::HashNode<C,U,HashF>, class Entry = HashsetCachedNodeEntry<HashNode, typename HashNode::NodeHashF>, class Container = HashSet<HashNode, typename HashNode::NodeHashF, typename HashNode::NodeAltHashF, Allocator, Entry>>
typedef U OVR::Hash< C, U, HashF, Allocator, HashNode, Entry, Container >::ValueType

Definition at line 1131 of file OVR_Hash.h.

Constructor & Destructor Documentation

template<class C, class U, class HashF = FixedSizeHash<C>, class Allocator = ContainerAllocator<C>, class HashNode = OVR::HashNode<C,U,HashF>, class Entry = HashsetCachedNodeEntry<HashNode, typename HashNode::NodeHashF>, class Container = HashSet<HashNode, typename HashNode::NodeHashF, typename HashNode::NodeAltHashF, Allocator, Entry>>
OVR::Hash< C, U, HashF, Allocator, HashNode, Entry, Container >::Hash ( )
inline

Definition at line 1138 of file OVR_Hash.h.

template<class C, class U, class HashF = FixedSizeHash<C>, class Allocator = ContainerAllocator<C>, class HashNode = OVR::HashNode<C,U,HashF>, class Entry = HashsetCachedNodeEntry<HashNode, typename HashNode::NodeHashF>, class Container = HashSet<HashNode, typename HashNode::NodeHashF, typename HashNode::NodeAltHashF, Allocator, Entry>>
OVR::Hash< C, U, HashF, Allocator, HashNode, Entry, Container >::Hash ( int  sizeHint)
inline

Definition at line 1139 of file OVR_Hash.h.

template<class C, class U, class HashF = FixedSizeHash<C>, class Allocator = ContainerAllocator<C>, class HashNode = OVR::HashNode<C,U,HashF>, class Entry = HashsetCachedNodeEntry<HashNode, typename HashNode::NodeHashF>, class Container = HashSet<HashNode, typename HashNode::NodeHashF, typename HashNode::NodeAltHashF, Allocator, Entry>>
OVR::Hash< C, U, HashF, Allocator, HashNode, Entry, Container >::Hash ( const SelfType src)
inline

Definition at line 1140 of file OVR_Hash.h.

template<class C, class U, class HashF = FixedSizeHash<C>, class Allocator = ContainerAllocator<C>, class HashNode = OVR::HashNode<C,U,HashF>, class Entry = HashsetCachedNodeEntry<HashNode, typename HashNode::NodeHashF>, class Container = HashSet<HashNode, typename HashNode::NodeHashF, typename HashNode::NodeAltHashF, Allocator, Entry>>
OVR::Hash< C, U, HashF, Allocator, HashNode, Entry, Container >::~Hash ( )
inline

Definition at line 1141 of file OVR_Hash.h.

Member Function Documentation

template<class C, class U, class HashF = FixedSizeHash<C>, class Allocator = ContainerAllocator<C>, class HashNode = OVR::HashNode<C,U,HashF>, class Entry = HashsetCachedNodeEntry<HashNode, typename HashNode::NodeHashF>, class Container = HashSet<HashNode, typename HashNode::NodeHashF, typename HashNode::NodeAltHashF, Allocator, Entry>>
void OVR::Hash< C, U, HashF, Allocator, HashNode, Entry, Container >::Add ( const C &  key,
const U &  value 
)
inline

Definition at line 1156 of file OVR_Hash.h.

template<class C, class U, class HashF = FixedSizeHash<C>, class Allocator = ContainerAllocator<C>, class HashNode = OVR::HashNode<C,U,HashF>, class Entry = HashsetCachedNodeEntry<HashNode, typename HashNode::NodeHashF>, class Container = HashSet<HashNode, typename HashNode::NodeHashF, typename HashNode::NodeAltHashF, Allocator, Entry>>
Iterator OVR::Hash< C, U, HashF, Allocator, HashNode, Entry, Container >::Begin ( )
inline

Definition at line 1238 of file OVR_Hash.h.

template<class C, class U, class HashF = FixedSizeHash<C>, class Allocator = ContainerAllocator<C>, class HashNode = OVR::HashNode<C,U,HashF>, class Entry = HashsetCachedNodeEntry<HashNode, typename HashNode::NodeHashF>, class Container = HashSet<HashNode, typename HashNode::NodeHashF, typename HashNode::NodeAltHashF, Allocator, Entry>>
ConstIterator OVR::Hash< C, U, HashF, Allocator, HashNode, Entry, Container >::Begin ( ) const
inline

Definition at line 1240 of file OVR_Hash.h.

template<class C, class U, class HashF = FixedSizeHash<C>, class Allocator = ContainerAllocator<C>, class HashNode = OVR::HashNode<C,U,HashF>, class Entry = HashsetCachedNodeEntry<HashNode, typename HashNode::NodeHashF>, class Container = HashSet<HashNode, typename HashNode::NodeHashF, typename HashNode::NodeAltHashF, Allocator, Entry>>
void OVR::Hash< C, U, HashF, Allocator, HashNode, Entry, Container >::Clear ( void  )
inline

Definition at line 1146 of file OVR_Hash.h.

template<class C, class U, class HashF = FixedSizeHash<C>, class Allocator = ContainerAllocator<C>, class HashNode = OVR::HashNode<C,U,HashF>, class Entry = HashsetCachedNodeEntry<HashNode, typename HashNode::NodeHashF>, class Container = HashSet<HashNode, typename HashNode::NodeHashF, typename HashNode::NodeAltHashF, Allocator, Entry>>
Iterator OVR::Hash< C, U, HashF, Allocator, HashNode, Entry, Container >::End ( )
inline

Definition at line 1239 of file OVR_Hash.h.

template<class C, class U, class HashF = FixedSizeHash<C>, class Allocator = ContainerAllocator<C>, class HashNode = OVR::HashNode<C,U,HashF>, class Entry = HashsetCachedNodeEntry<HashNode, typename HashNode::NodeHashF>, class Container = HashSet<HashNode, typename HashNode::NodeHashF, typename HashNode::NodeAltHashF, Allocator, Entry>>
ConstIterator OVR::Hash< C, U, HashF, Allocator, HashNode, Entry, Container >::End ( ) const
inline

Definition at line 1241 of file OVR_Hash.h.

template<class C, class U, class HashF = FixedSizeHash<C>, class Allocator = ContainerAllocator<C>, class HashNode = OVR::HashNode<C,U,HashF>, class Entry = HashsetCachedNodeEntry<HashNode, typename HashNode::NodeHashF>, class Container = HashSet<HashNode, typename HashNode::NodeHashF, typename HashNode::NodeAltHashF, Allocator, Entry>>
Iterator OVR::Hash< C, U, HashF, Allocator, HashNode, Entry, Container >::Find ( const C &  key)
inline

Definition at line 1243 of file OVR_Hash.h.

template<class C, class U, class HashF = FixedSizeHash<C>, class Allocator = ContainerAllocator<C>, class HashNode = OVR::HashNode<C,U,HashF>, class Entry = HashsetCachedNodeEntry<HashNode, typename HashNode::NodeHashF>, class Container = HashSet<HashNode, typename HashNode::NodeHashF, typename HashNode::NodeAltHashF, Allocator, Entry>>
ConstIterator OVR::Hash< C, U, HashF, Allocator, HashNode, Entry, Container >::Find ( const C &  key) const
inline

Definition at line 1244 of file OVR_Hash.h.

template<class C, class U, class HashF = FixedSizeHash<C>, class Allocator = ContainerAllocator<C>, class HashNode = OVR::HashNode<C,U,HashF>, class Entry = HashsetCachedNodeEntry<HashNode, typename HashNode::NodeHashF>, class Container = HashSet<HashNode, typename HashNode::NodeHashF, typename HashNode::NodeAltHashF, Allocator, Entry>>
template<class K >
Iterator OVR::Hash< C, U, HashF, Allocator, HashNode, Entry, Container >::FindAlt ( const K &  key)
inline

Definition at line 1247 of file OVR_Hash.h.

template<class C, class U, class HashF = FixedSizeHash<C>, class Allocator = ContainerAllocator<C>, class HashNode = OVR::HashNode<C,U,HashF>, class Entry = HashsetCachedNodeEntry<HashNode, typename HashNode::NodeHashF>, class Container = HashSet<HashNode, typename HashNode::NodeHashF, typename HashNode::NodeAltHashF, Allocator, Entry>>
template<class K >
ConstIterator OVR::Hash< C, U, HashF, Allocator, HashNode, Entry, Container >::FindAlt ( const K &  key) const
inline

Definition at line 1249 of file OVR_Hash.h.

template<class C, class U, class HashF = FixedSizeHash<C>, class Allocator = ContainerAllocator<C>, class HashNode = OVR::HashNode<C,U,HashF>, class Entry = HashsetCachedNodeEntry<HashNode, typename HashNode::NodeHashF>, class Container = HashSet<HashNode, typename HashNode::NodeHashF, typename HashNode::NodeAltHashF, Allocator, Entry>>
bool OVR::Hash< C, U, HashF, Allocator, HashNode, Entry, Container >::Get ( const C &  key,
U *  pvalue 
) const
inline

Definition at line 1177 of file OVR_Hash.h.

template<class C, class U, class HashF = FixedSizeHash<C>, class Allocator = ContainerAllocator<C>, class HashNode = OVR::HashNode<C,U,HashF>, class Entry = HashsetCachedNodeEntry<HashNode, typename HashNode::NodeHashF>, class Container = HashSet<HashNode, typename HashNode::NodeHashF, typename HashNode::NodeAltHashF, Allocator, Entry>>
U* OVR::Hash< C, U, HashF, Allocator, HashNode, Entry, Container >::Get ( const C &  key)
inline

Definition at line 1205 of file OVR_Hash.h.

template<class C, class U, class HashF = FixedSizeHash<C>, class Allocator = ContainerAllocator<C>, class HashNode = OVR::HashNode<C,U,HashF>, class Entry = HashsetCachedNodeEntry<HashNode, typename HashNode::NodeHashF>, class Container = HashSet<HashNode, typename HashNode::NodeHashF, typename HashNode::NodeAltHashF, Allocator, Entry>>
const U* OVR::Hash< C, U, HashF, Allocator, HashNode, Entry, Container >::Get ( const C &  key) const
inline

Definition at line 1210 of file OVR_Hash.h.

template<class C, class U, class HashF = FixedSizeHash<C>, class Allocator = ContainerAllocator<C>, class HashNode = OVR::HashNode<C,U,HashF>, class Entry = HashsetCachedNodeEntry<HashNode, typename HashNode::NodeHashF>, class Container = HashSet<HashNode, typename HashNode::NodeHashF, typename HashNode::NodeAltHashF, Allocator, Entry>>
template<class K >
bool OVR::Hash< C, U, HashF, Allocator, HashNode, Entry, Container >::GetAlt ( const K &  key,
U *  pvalue 
) const
inline

Definition at line 1190 of file OVR_Hash.h.

template<class C, class U, class HashF = FixedSizeHash<C>, class Allocator = ContainerAllocator<C>, class HashNode = OVR::HashNode<C,U,HashF>, class Entry = HashsetCachedNodeEntry<HashNode, typename HashNode::NodeHashF>, class Container = HashSet<HashNode, typename HashNode::NodeHashF, typename HashNode::NodeAltHashF, Allocator, Entry>>
template<class K >
U* OVR::Hash< C, U, HashF, Allocator, HashNode, Entry, Container >::GetAlt ( const K &  key)
inline

Definition at line 1217 of file OVR_Hash.h.

template<class C, class U, class HashF = FixedSizeHash<C>, class Allocator = ContainerAllocator<C>, class HashNode = OVR::HashNode<C,U,HashF>, class Entry = HashsetCachedNodeEntry<HashNode, typename HashNode::NodeHashF>, class Container = HashSet<HashNode, typename HashNode::NodeHashF, typename HashNode::NodeAltHashF, Allocator, Entry>>
template<class K >
const U* OVR::Hash< C, U, HashF, Allocator, HashNode, Entry, Container >::GetAlt ( const K &  key) const
inline

Definition at line 1223 of file OVR_Hash.h.

template<class C, class U, class HashF = FixedSizeHash<C>, class Allocator = ContainerAllocator<C>, class HashNode = OVR::HashNode<C,U,HashF>, class Entry = HashsetCachedNodeEntry<HashNode, typename HashNode::NodeHashF>, class Container = HashSet<HashNode, typename HashNode::NodeHashF, typename HashNode::NodeAltHashF, Allocator, Entry>>
UPInt OVR::Hash< C, U, HashF, Allocator, HashNode, Entry, Container >::GetSize ( void  ) const
inline

Definition at line 1230 of file OVR_Hash.h.

template<class C, class U, class HashF = FixedSizeHash<C>, class Allocator = ContainerAllocator<C>, class HashNode = OVR::HashNode<C,U,HashF>, class Entry = HashsetCachedNodeEntry<HashNode, typename HashNode::NodeHashF>, class Container = HashSet<HashNode, typename HashNode::NodeHashF, typename HashNode::NodeAltHashF, Allocator, Entry>>
bool OVR::Hash< C, U, HashF, Allocator, HashNode, Entry, Container >::IsEmpty ( void  ) const
inline

Definition at line 1148 of file OVR_Hash.h.

template<class C, class U, class HashF = FixedSizeHash<C>, class Allocator = ContainerAllocator<C>, class HashNode = OVR::HashNode<C,U,HashF>, class Entry = HashsetCachedNodeEntry<HashNode, typename HashNode::NodeHashF>, class Container = HashSet<HashNode, typename HashNode::NodeHashF, typename HashNode::NodeAltHashF, Allocator, Entry>>
void OVR::Hash< C, U, HashF, Allocator, HashNode, Entry, Container >::operator= ( const SelfType src)
inline

Definition at line 1143 of file OVR_Hash.h.

template<class C, class U, class HashF = FixedSizeHash<C>, class Allocator = ContainerAllocator<C>, class HashNode = OVR::HashNode<C,U,HashF>, class Entry = HashsetCachedNodeEntry<HashNode, typename HashNode::NodeHashF>, class Container = HashSet<HashNode, typename HashNode::NodeHashF, typename HashNode::NodeAltHashF, Allocator, Entry>>
void OVR::Hash< C, U, HashF, Allocator, HashNode, Entry, Container >::Remove ( const C &  key)
inline

Definition at line 1163 of file OVR_Hash.h.

template<class C, class U, class HashF = FixedSizeHash<C>, class Allocator = ContainerAllocator<C>, class HashNode = OVR::HashNode<C,U,HashF>, class Entry = HashsetCachedNodeEntry<HashNode, typename HashNode::NodeHashF>, class Container = HashSet<HashNode, typename HashNode::NodeHashF, typename HashNode::NodeAltHashF, Allocator, Entry>>
template<class K >
void OVR::Hash< C, U, HashF, Allocator, HashNode, Entry, Container >::RemoveAlt ( const K &  key)
inline

Definition at line 1168 of file OVR_Hash.h.

template<class C, class U, class HashF = FixedSizeHash<C>, class Allocator = ContainerAllocator<C>, class HashNode = OVR::HashNode<C,U,HashF>, class Entry = HashsetCachedNodeEntry<HashNode, typename HashNode::NodeHashF>, class Container = HashSet<HashNode, typename HashNode::NodeHashF, typename HashNode::NodeAltHashF, Allocator, Entry>>
void OVR::Hash< C, U, HashF, Allocator, HashNode, Entry, Container >::Resize ( UPInt  n)
inline

Definition at line 1231 of file OVR_Hash.h.

template<class C, class U, class HashF = FixedSizeHash<C>, class Allocator = ContainerAllocator<C>, class HashNode = OVR::HashNode<C,U,HashF>, class Entry = HashsetCachedNodeEntry<HashNode, typename HashNode::NodeHashF>, class Container = HashSet<HashNode, typename HashNode::NodeHashF, typename HashNode::NodeAltHashF, Allocator, Entry>>
void OVR::Hash< C, U, HashF, Allocator, HashNode, Entry, Container >::Set ( const C &  key,
const U &  value 
)
inline

Definition at line 1151 of file OVR_Hash.h.

template<class C, class U, class HashF = FixedSizeHash<C>, class Allocator = ContainerAllocator<C>, class HashNode = OVR::HashNode<C,U,HashF>, class Entry = HashsetCachedNodeEntry<HashNode, typename HashNode::NodeHashF>, class Container = HashSet<HashNode, typename HashNode::NodeHashF, typename HashNode::NodeAltHashF, Allocator, Entry>>
void OVR::Hash< C, U, HashF, Allocator, HashNode, Entry, Container >::SetCapacity ( UPInt  newSize)
inline

Definition at line 1232 of file OVR_Hash.h.

Field Documentation

template<class C, class U, class HashF = FixedSizeHash<C>, class Allocator = ContainerAllocator<C>, class HashNode = OVR::HashNode<C,U,HashF>, class Entry = HashsetCachedNodeEntry<HashNode, typename HashNode::NodeHashF>, class Container = HashSet<HashNode, typename HashNode::NodeHashF, typename HashNode::NodeAltHashF, Allocator, Entry>>
Container OVR::Hash< C, U, HashF, Allocator, HashNode, Entry, Container >::mHash

Definition at line 1135 of file OVR_Hash.h.


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