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

#include <GHashSetBase.h>

Inheritance diagram for RE::GHashSetBase< C, HashF, AltHashF, Allocator, Entry >:
RE::GHashSet< GHashNode< C, U, GFixedSizeHash< C > >, typename HashNode::NodeHashF, typename HashNode::NodeAltHashF, GAllocatorGH< C >, GHashsetCachedNodeEntry< GHashNode< C, U, GFixedSizeHash< C > >, typename HashNode::NodeHashF > > RE::GHashSet< C, GFixedSizeHash< C >, GFixedSizeHash< C >, GAllocatorGH< C >, GHashsetEntry< C, GFixedSizeHash< C > > > RE::GHashSet< RE::GFxResourceWeakLib::ResourceNode, RE::GFxResourceWeakLib::ResourceNode::HashOp > RE::GHashSet< GFxResource *, GFxResourcePtrHashFunc > RE::GHashSetUncached< C, HashF, AltHashF, Allocator >

Classes

struct  const_iterator
 
struct  iterator
 

Public Types

using SelfType = GHashSetBase< C, HashF, AltHashF, Allocator, Entry >
 

Public Member Functions

 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
 

Friends

struct const_iterator
 
struct iterator
 

Member Typedef Documentation

◆ SelfType

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

Constructor & Destructor Documentation

◆ GHashSetBase() [1/5]

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

◆ GHashSetBase() [2/5]

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

◆ GHashSetBase() [3/5]

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

◆ GHashSetBase() [4/5]

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

◆ GHashSetBase() [5/5]

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

◆ ~GHashSetBase()

template<class C , class HashF = GFixedSizeHash<C>, class AltHashF = HashF, class Allocator = GAllocatorGH<C>, class Entry = GHashsetCachedEntry<C, HashF>>
RE::GHashSetBase< C, HashF, AltHashF, Allocator, Entry >::~GHashSetBase ( )
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::GHashSetBase< C, HashF, AltHashF, Allocator, Entry >::Add ( void *  a_memAddr,
const CRef &  a_key 
)
inline

◆ Assign()

template<class C , class HashF = GFixedSizeHash<C>, class AltHashF = HashF, class Allocator = GAllocatorGH<C>, class Entry = GHashsetCachedEntry<C, HashF>>
void RE::GHashSetBase< C, HashF, AltHashF, Allocator, Entry >::Assign ( void *  a_memAddr,
const SelfType a_src 
)
inline

◆ begin() [1/2]

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

◆ begin() [2/2]

template<class C , class HashF = GFixedSizeHash<C>, class AltHashF = HashF, class Allocator = GAllocatorGH<C>, class Entry = GHashsetCachedEntry<C, HashF>>
const_iterator RE::GHashSetBase< C, HashF, AltHashF, Allocator, Entry >::begin ( ) const
inline

◆ CheckExpand()

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

◆ Clear()

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

◆ end() [1/2]

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

◆ end() [2/2]

template<class C , class HashF = GFixedSizeHash<C>, class AltHashF = HashF, class Allocator = GAllocatorGH<C>, class Entry = GHashsetCachedEntry<C, HashF>>
const_iterator RE::GHashSetBase< C, HashF, AltHashF, Allocator, Entry >::end ( ) const
inline

◆ Find() [1/2]

template<class C , class HashF = GFixedSizeHash<C>, class AltHashF = HashF, class Allocator = GAllocatorGH<C>, class Entry = GHashsetCachedEntry<C, HashF>>
template<class K >
iterator RE::GHashSetBase< C, HashF, AltHashF, Allocator, Entry >::Find ( const K &  a_key)
inline

◆ Find() [2/2]

template<class C , class HashF = GFixedSizeHash<C>, class AltHashF = HashF, class Allocator = GAllocatorGH<C>, class Entry = GHashsetCachedEntry<C, HashF>>
template<class K >
const_iterator RE::GHashSetBase< C, HashF, AltHashF, Allocator, Entry >::Find ( const K &  a_key) const
inline

◆ FindAlt() [1/2]

template<class C , class HashF = GFixedSizeHash<C>, class AltHashF = HashF, class Allocator = GAllocatorGH<C>, class Entry = GHashsetCachedEntry<C, HashF>>
template<class K >
iterator RE::GHashSetBase< C, HashF, AltHashF, Allocator, Entry >::FindAlt ( const K &  a_key)
inline

◆ FindAlt() [2/2]

template<class C , class HashF = GFixedSizeHash<C>, class AltHashF = HashF, class Allocator = GAllocatorGH<C>, class Entry = GHashsetCachedEntry<C, HashF>>
template<class K >
const_iterator RE::GHashSetBase< C, HashF, AltHashF, Allocator, Entry >::FindAlt ( const K &  a_key) const
inline

◆ Get() [1/2]

template<class C , class HashF = GFixedSizeHash<C>, class AltHashF = HashF, class Allocator = GAllocatorGH<C>, class Entry = GHashsetCachedEntry<C, HashF>>
template<class K >
C* RE::GHashSetBase< C, HashF, AltHashF, Allocator, Entry >::Get ( const K &  a_key)
inline

◆ Get() [2/2]

template<class C , class HashF = GFixedSizeHash<C>, class AltHashF = HashF, class Allocator = GAllocatorGH<C>, class Entry = GHashsetCachedEntry<C, HashF>>
template<class K >
const C* RE::GHashSetBase< C, HashF, AltHashF, Allocator, Entry >::Get ( const K &  key) const
inline

◆ GetAlt() [1/3]

template<class C , class HashF = GFixedSizeHash<C>, class AltHashF = HashF, class Allocator = GAllocatorGH<C>, class Entry = GHashsetCachedEntry<C, HashF>>
template<class K >
C* RE::GHashSetBase< C, HashF, AltHashF, Allocator, Entry >::GetAlt ( const K &  a_key)
inline

◆ GetAlt() [2/3]

template<class C , class HashF = GFixedSizeHash<C>, class AltHashF = HashF, class Allocator = GAllocatorGH<C>, class Entry = GHashsetCachedEntry<C, HashF>>
template<class K >
const C* RE::GHashSetBase< C, HashF, AltHashF, Allocator, Entry >::GetAlt ( const K &  a_key) const
inline

◆ GetAlt() [3/3]

template<class C , class HashF = GFixedSizeHash<C>, class AltHashF = HashF, class Allocator = GAllocatorGH<C>, class Entry = GHashsetCachedEntry<C, HashF>>
template<class K >
bool RE::GHashSetBase< C, HashF, AltHashF, Allocator, Entry >::GetAlt ( const K &  a_key,
C *  a_val 
) const
inline

◆ GetSize()

template<class C , class HashF = GFixedSizeHash<C>, class AltHashF = HashF, class Allocator = GAllocatorGH<C>, class Entry = GHashsetCachedEntry<C, HashF>>
UPInt RE::GHashSetBase< C, HashF, AltHashF, Allocator, Entry >::GetSize ( ) const
inline

◆ GFC_MEMORY_REDEFINE_NEW()

template<class C , class HashF = GFixedSizeHash<C>, class AltHashF = HashF, class Allocator = GAllocatorGH<C>, class Entry = GHashsetCachedEntry<C, HashF>>
RE::GHashSetBase< C, HashF, AltHashF, Allocator, Entry >::GFC_MEMORY_REDEFINE_NEW ( GHashSetBase< C, HashF, AltHashF, Allocator, Entry >  ,
Allocator::kStatID   
)

◆ IsEmpty()

template<class C , class HashF = GFixedSizeHash<C>, class AltHashF = HashF, class Allocator = GAllocatorGH<C>, class Entry = GHashsetCachedEntry<C, HashF>>
bool RE::GHashSetBase< C, HashF, AltHashF, Allocator, Entry >::IsEmpty ( ) const
inline

◆ Remove()

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

◆ RemoveAlt()

template<class C , class HashF = GFixedSizeHash<C>, class AltHashF = HashF, class Allocator = GAllocatorGH<C>, class Entry = GHashsetCachedEntry<C, HashF>>
template<class K >
void RE::GHashSetBase< C, HashF, AltHashF, Allocator, Entry >::RemoveAlt ( const K &  a_key)
inline

◆ Resize()

template<class C , class HashF = GFixedSizeHash<C>, class AltHashF = HashF, class Allocator = GAllocatorGH<C>, class Entry = GHashsetCachedEntry<C, HashF>>
void RE::GHashSetBase< C, HashF, AltHashF, Allocator, Entry >::Resize ( void *  a_memAddr,
UPInt  a_count 
)
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::GHashSetBase< C, HashF, AltHashF, Allocator, Entry >::Set ( void *  a_memAddr,
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::GHashSetBase< C, HashF, AltHashF, Allocator, Entry >::SetCapacity ( void *  a_memAddr,
UPInt  a_newSize 
)
inline

Friends And Related Function Documentation

◆ const_iterator

template<class C , class HashF = GFixedSizeHash<C>, class AltHashF = HashF, class Allocator = GAllocatorGH<C>, class Entry = GHashsetCachedEntry<C, HashF>>
friend struct const_iterator
friend

◆ iterator

template<class C , class HashF = GFixedSizeHash<C>, class AltHashF = HashF, class Allocator = GAllocatorGH<C>, class Entry = GHashsetCachedEntry<C, HashF>>
friend struct iterator
friend

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