CommonLibSSE (Parapets fork)
RE::GHashSet< C, HashF, AltHashF, Allocator, Entry > Class Template Reference

#include <GHashSet.h>

Inheritance diagram for RE::GHashSet< C, HashF, AltHashF, Allocator, Entry >:
RE::GHashSetBase< C, GFixedSizeHash< C >, GFixedSizeHash< C >, GAllocatorGH< C >, GHashsetCachedEntry< C, GFixedSizeHash< C > > >

Public Types

using BaseType = GHashSetBase< C, HashF, AltHashF, Allocator, Entry >
 
using SelfType = GHashSet< C, HashF, AltHashF, Allocator, Entry >
 
- Public Types inherited from RE::GHashSetBase< C, GFixedSizeHash< C >, GFixedSizeHash< C >, GAllocatorGH< C >, GHashsetCachedEntry< C, GFixedSizeHash< C > > >
using SelfType = GHashSetBase< C, GFixedSizeHash< C >, GFixedSizeHash< C >, GAllocatorGH< C >, GHashsetCachedEntry< C, GFixedSizeHash< C > > >
 

Public Member Functions

 GHashSet ()
 
 GHashSet (std::int32_t a_sizeHint)
 
 GHashSet (void *a_heap)
 
 GHashSet (void *a_heap, std::int32_t a_sizeHint)
 
 GHashSet (const SelfType &a_src)
 
 ~GHashSet ()
 
void operator= (const SelfType &a_src)
 
template<class CRef >
void Set (const CRef &a_key)
 
template<class CRef >
void Add (const CRef &a_key)
 
void CheckExpand ()
 
void Resize (UPInt a_size)
 
void SetCapacity (UPInt a_newSize)
 
- Public Member Functions inherited from RE::GHashSetBase< C, GFixedSizeHash< C >, GFixedSizeHash< C >, GAllocatorGH< C >, GHashsetCachedEntry< C, GFixedSizeHash< C > > >
 GHashSetBase ()
 
 GHashSetBase (std::int32_t a_sizeHint)
 
 GHashSetBase (void *a_memAddr)
 
 GHashSetBase (void *a_memAddr, std::int32_t a_sizeHint)
 
 GHashSetBase (const SelfType &a_src)
 
 ~GHashSetBase ()
 
 GFC_MEMORY_REDEFINE_NEW (GHashSetBase, Allocator::kStatID)
 
void Assign (void *a_memAddr, const SelfType &a_src)
 
void Clear ()
 
bool IsEmpty () const
 
void Set (void *a_memAddr, const CRef &a_key)
 
void Add (void *a_memAddr, const CRef &a_key)
 
void RemoveAlt (const K &a_key)
 
void Remove (const CRef &a_key)
 
C * Get (const K &a_key)
 
const C * Get (const K &key) const
 
C * GetAlt (const K &a_key)
 
const C * GetAlt (const K &a_key) const
 
bool GetAlt (const K &a_key, C *a_val) const
 
UPInt GetSize () const
 
void CheckExpand (void *a_memAddr)
 
void Resize (void *a_memAddr, UPInt a_count)
 
void SetCapacity (void *a_memAddr, UPInt a_newSize)
 
iterator begin ()
 
const_iterator begin () const
 
iterator end ()
 
const_iterator end () const
 
iterator Find (const K &a_key)
 
const_iterator Find (const K &a_key) const
 
iterator FindAlt (const K &a_key)
 
const_iterator FindAlt (const K &a_key) const
 

Member Typedef Documentation

◆ BaseType

template<class C , class HashF = GFixedSizeHash<C>, class AltHashF = HashF, class Allocator = GAllocatorGH<C>, class Entry = GHashsetCachedEntry<C, HashF>>
using RE::GHashSet< C, HashF, AltHashF, Allocator, Entry >::BaseType = GHashSetBase<C, HashF, AltHashF, Allocator, Entry>

◆ SelfType

template<class C , class HashF = GFixedSizeHash<C>, class AltHashF = HashF, class Allocator = GAllocatorGH<C>, class Entry = GHashsetCachedEntry<C, HashF>>
using RE::GHashSet< C, HashF, AltHashF, Allocator, Entry >::SelfType = GHashSet<C, HashF, AltHashF, Allocator, Entry>

Constructor & Destructor Documentation

◆ GHashSet() [1/5]

template<class C , class HashF = GFixedSizeHash<C>, class AltHashF = HashF, class Allocator = GAllocatorGH<C>, class Entry = GHashsetCachedEntry<C, HashF>>
RE::GHashSet< C, HashF, AltHashF, Allocator, Entry >::GHashSet ( )
inline

◆ GHashSet() [2/5]

template<class C , class HashF = GFixedSizeHash<C>, class AltHashF = HashF, class Allocator = GAllocatorGH<C>, class Entry = GHashsetCachedEntry<C, HashF>>
RE::GHashSet< C, HashF, AltHashF, Allocator, Entry >::GHashSet ( std::int32_t  a_sizeHint)
inline

◆ GHashSet() [3/5]

template<class C , class HashF = GFixedSizeHash<C>, class AltHashF = HashF, class Allocator = GAllocatorGH<C>, class Entry = GHashsetCachedEntry<C, HashF>>
RE::GHashSet< C, HashF, AltHashF, Allocator, Entry >::GHashSet ( void *  a_heap)
inlineexplicit

◆ GHashSet() [4/5]

template<class C , class HashF = GFixedSizeHash<C>, class AltHashF = HashF, class Allocator = GAllocatorGH<C>, class Entry = GHashsetCachedEntry<C, HashF>>
RE::GHashSet< C, HashF, AltHashF, Allocator, Entry >::GHashSet ( void *  a_heap,
std::int32_t  a_sizeHint 
)
inline

◆ GHashSet() [5/5]

template<class C , class HashF = GFixedSizeHash<C>, class AltHashF = HashF, class Allocator = GAllocatorGH<C>, class Entry = GHashsetCachedEntry<C, HashF>>
RE::GHashSet< C, HashF, AltHashF, Allocator, Entry >::GHashSet ( const SelfType a_src)
inline

◆ ~GHashSet()

template<class C , class HashF = GFixedSizeHash<C>, class AltHashF = HashF, class Allocator = GAllocatorGH<C>, class Entry = GHashsetCachedEntry<C, HashF>>
RE::GHashSet< C, HashF, AltHashF, Allocator, Entry >::~GHashSet ( )
inline

Member Function Documentation

◆ Add()

template<class C , class HashF = GFixedSizeHash<C>, class AltHashF = HashF, class Allocator = GAllocatorGH<C>, class Entry = GHashsetCachedEntry<C, HashF>>
template<class CRef >
void RE::GHashSet< C, HashF, AltHashF, Allocator, Entry >::Add ( const CRef &  a_key)
inline

◆ CheckExpand()

template<class C , class HashF = GFixedSizeHash<C>, class AltHashF = HashF, class Allocator = GAllocatorGH<C>, class Entry = GHashsetCachedEntry<C, HashF>>
void RE::GHashSet< C, HashF, AltHashF, Allocator, Entry >::CheckExpand ( )
inline

◆ operator=()

template<class C , class HashF = GFixedSizeHash<C>, class AltHashF = HashF, class Allocator = GAllocatorGH<C>, class Entry = GHashsetCachedEntry<C, HashF>>
void RE::GHashSet< C, HashF, AltHashF, Allocator, Entry >::operator= ( const SelfType a_src)
inline

◆ Resize()

template<class C , class HashF = GFixedSizeHash<C>, class AltHashF = HashF, class Allocator = GAllocatorGH<C>, class Entry = GHashsetCachedEntry<C, HashF>>
void RE::GHashSet< C, HashF, AltHashF, Allocator, Entry >::Resize ( UPInt  a_size)
inline

◆ Set()

template<class C , class HashF = GFixedSizeHash<C>, class AltHashF = HashF, class Allocator = GAllocatorGH<C>, class Entry = GHashsetCachedEntry<C, HashF>>
template<class CRef >
void RE::GHashSet< C, HashF, AltHashF, Allocator, Entry >::Set ( const CRef &  a_key)
inline

◆ SetCapacity()

template<class C , class HashF = GFixedSizeHash<C>, class AltHashF = HashF, class Allocator = GAllocatorGH<C>, class Entry = GHashsetCachedEntry<C, HashF>>
void RE::GHashSet< C, HashF, AltHashF, Allocator, Entry >::SetCapacity ( UPInt  a_newSize)
inline

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