CommonLibSSE NG
Loading...
Searching...
No Matches
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, HashF, AltHashF, Allocator, Entry > RE::GHashSetUncached< C, HashF, AltHashF, Allocator >

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, HashF, AltHashF, Allocator, Entry >
using SelfType = GHashSetBase< C, HashF, AltHashF, Allocator, Entry >
 

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, HashF, AltHashF, Allocator, Entry >
 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
 
template<class CRef >
void Set (void *a_memAddr, const CRef &a_key)
 
template<class CRef >
void Add (void *a_memAddr, const CRef &a_key)
 
template<class K >
void RemoveAlt (const K &a_key)
 
template<class CRef >
void Remove (const CRef &a_key)
 
template<class K >
C * Get (const K &a_key)
 
template<class K >
const C * Get (const K &key) const
 
template<class K >
C * GetAlt (const K &a_key)
 
template<class K >
const C * GetAlt (const K &a_key) const
 
template<class K >
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 ()
 
iterator end ()
 
const_iterator begin () const
 
const_iterator end () const
 
template<class K >
iterator Find (const K &a_key)
 
template<class K >
iterator FindAlt (const K &a_key)
 
template<class K >
const_iterator Find (const K &a_key) const
 
template<class K >
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: