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

#include "OVR_Hash.h"

Inheritance diagram for OVR::HashSet< C, HashF, AltHashF, Allocator, Entry >:
Inheritance graph
Collaboration diagram for OVR::HashSet< C, HashF, AltHashF, Allocator, Entry >:
Collaboration graph

Public Types

typedef HashSetBase< C, HashF,
AltHashF, Allocator, Entry > 
BaseType
 
typedef HashSet< C, HashF,
AltHashF, Allocator, Entry > 
SelfType
 
- Public Types inherited from OVR::HashSetBase< C, HashF, AltHashF, Allocator, Entry >
typedef HashSetBase< C, HashF,
AltHashF, Allocator, Entry > 
SelfType
 

Public Member Functions

 HashSet ()
 
 HashSet (int sizeHint)
 
 HashSet (const SelfType &src)
 
 ~HashSet ()
 
void operator= (const SelfType &src)
 
template<class CRef >
void Set (const CRef &key)
 
template<class CRef >
void Add (const CRef &key)
 
void Resize (UPInt n)
 
void SetCapacity (UPInt newSize)
 
- Public Member Functions inherited from OVR::HashSetBase< C, HashF, AltHashF, Allocator, Entry >
 HashSetBase ()
 
 HashSetBase (int sizeHint)
 
 HashSetBase (const SelfType &src)
 
 ~HashSetBase ()
 
void Assign (const SelfType &src)
 
void Clear ()
 
bool IsEmpty () const
 
template<class CRef >
void Set (const CRef &key)
 
template<class CRef >
void Add (const CRef &key)
 
template<class K >
void RemoveAlt (const K &key)
 
template<class CRef >
void Remove (const CRef &key)
 
template<class K >
C * Get (const K &key)
 
template<class K >
const C * Get (const K &key) const
 
template<class K >
const C * GetAlt (const K &key) const
 
template<class K >
C * GetAlt (const K &key)
 
template<class K >
bool GetAlt (const K &key, C *pval) const
 
UPInt GetSize () const
 
void CheckExpand ()
 
void Resize (UPInt n)
 
void SetCapacity (UPInt newSize)
 
Iterator Begin ()
 
Iterator End ()
 
ConstIterator Begin () const
 
ConstIterator End () const
 
template<class K >
Iterator Find (const K &key)
 
template<class K >
Iterator FindAlt (const K &key)
 
template<class K >
ConstIterator Find (const K &key) const
 
template<class K >
ConstIterator FindAlt (const K &key) const
 

Detailed Description

template<class C, class HashF = FixedSizeHash<C>, class AltHashF = HashF, class Allocator = ContainerAllocator<C>, class Entry = HashsetCachedEntry<C, HashF>>
class OVR::HashSet< C, HashF, AltHashF, Allocator, Entry >

Definition at line 913 of file OVR_Hash.h.

Member Typedef Documentation

template<class C, class HashF = FixedSizeHash<C>, class AltHashF = HashF, class Allocator = ContainerAllocator<C>, class Entry = HashsetCachedEntry<C, HashF>>
typedef HashSetBase<C, HashF, AltHashF, Allocator, Entry> OVR::HashSet< C, HashF, AltHashF, Allocator, Entry >::BaseType

Definition at line 916 of file OVR_Hash.h.

template<class C, class HashF = FixedSizeHash<C>, class AltHashF = HashF, class Allocator = ContainerAllocator<C>, class Entry = HashsetCachedEntry<C, HashF>>
typedef HashSet<C, HashF, AltHashF, Allocator, Entry> OVR::HashSet< C, HashF, AltHashF, Allocator, Entry >::SelfType

Definition at line 917 of file OVR_Hash.h.

Constructor & Destructor Documentation

template<class C, class HashF = FixedSizeHash<C>, class AltHashF = HashF, class Allocator = ContainerAllocator<C>, class Entry = HashsetCachedEntry<C, HashF>>
OVR::HashSet< C, HashF, AltHashF, Allocator, Entry >::HashSet ( )
inline

Definition at line 919 of file OVR_Hash.h.

template<class C, class HashF = FixedSizeHash<C>, class AltHashF = HashF, class Allocator = ContainerAllocator<C>, class Entry = HashsetCachedEntry<C, HashF>>
OVR::HashSet< C, HashF, AltHashF, Allocator, Entry >::HashSet ( int  sizeHint)
inline

Definition at line 920 of file OVR_Hash.h.

template<class C, class HashF = FixedSizeHash<C>, class AltHashF = HashF, class Allocator = ContainerAllocator<C>, class Entry = HashsetCachedEntry<C, HashF>>
OVR::HashSet< C, HashF, AltHashF, Allocator, Entry >::HashSet ( const SelfType src)
inline

Definition at line 921 of file OVR_Hash.h.

template<class C, class HashF = FixedSizeHash<C>, class AltHashF = HashF, class Allocator = ContainerAllocator<C>, class Entry = HashsetCachedEntry<C, HashF>>
OVR::HashSet< C, HashF, AltHashF, Allocator, Entry >::~HashSet ( )
inline

Definition at line 922 of file OVR_Hash.h.

Member Function Documentation

template<class C, class HashF = FixedSizeHash<C>, class AltHashF = HashF, class Allocator = ContainerAllocator<C>, class Entry = HashsetCachedEntry<C, HashF>>
template<class CRef >
void OVR::HashSet< C, HashF, AltHashF, Allocator, Entry >::Add ( const CRef &  key)
inline

Definition at line 936 of file OVR_Hash.h.

template<class C, class HashF = FixedSizeHash<C>, class AltHashF = HashF, class Allocator = ContainerAllocator<C>, class Entry = HashsetCachedEntry<C, HashF>>
void OVR::HashSet< C, HashF, AltHashF, Allocator, Entry >::operator= ( const SelfType src)
inline

Definition at line 924 of file OVR_Hash.h.

template<class C, class HashF = FixedSizeHash<C>, class AltHashF = HashF, class Allocator = ContainerAllocator<C>, class Entry = HashsetCachedEntry<C, HashF>>
void OVR::HashSet< C, HashF, AltHashF, Allocator, Entry >::Resize ( UPInt  n)
inline

Definition at line 942 of file OVR_Hash.h.

template<class C, class HashF = FixedSizeHash<C>, class AltHashF = HashF, class Allocator = ContainerAllocator<C>, class Entry = HashsetCachedEntry<C, HashF>>
template<class CRef >
void OVR::HashSet< C, HashF, AltHashF, Allocator, Entry >::Set ( const CRef &  key)
inline

Definition at line 930 of file OVR_Hash.h.

template<class C, class HashF = FixedSizeHash<C>, class AltHashF = HashF, class Allocator = ContainerAllocator<C>, class Entry = HashsetCachedEntry<C, HashF>>
void OVR::HashSet< C, HashF, AltHashF, Allocator, Entry >::SetCapacity ( UPInt  newSize)
inline

Definition at line 950 of file OVR_Hash.h.


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