CommonLibSSE (Parapets fork)
|
#include <NiTMap.h>
Public Types | |
using | key_type = typename Base::key_type |
using | mapped_type = typename Base::mapped_type |
using | value_type = typename Base::value_type |
using | size_type = typename Base::size_type |
Public Types inherited from RE::NiTMapBase< NiTDefaultAllocator< NiTMapItem< Key, T > >, Key, T > | |
using | key_type = Key |
using | mapped_type = T |
using | value_type = NiTMapItem< Key, T > |
using | size_type = std::uint32_t |
using | iterator = iterator_base< value_type > |
using | const_iterator = iterator_base< const value_type > |
Public Member Functions | |
NiTMap (std::uint32_t a_hashSize=37) | |
~NiTMap () override | |
Public Member Functions inherited from RE::NiTMapBase< NiTDefaultAllocator< NiTMapItem< Key, T > >, Key, T > | |
NiTMapBase (size_type a_capacity=37) | |
virtual | ~NiTMapBase () |
iterator | begin () |
const_iterator | begin () const |
const_iterator | cbegin () const |
iterator | end () |
const_iterator | end () const |
const_iterator | cend () const |
bool | empty () const noexcept |
size_type | size () const noexcept |
void | clear () |
bool | insert_or_assign (key_type &&a_key, M &&a_obj) |
size_type | erase (const key_type &a_key) |
iterator | find (const Key &a_key) |
const_iterator | find (const Key &a_key) const |
Protected Member Functions | |
value_type * | malloc_value () override |
void | free_value (value_type *a_value) override |
Protected Member Functions inherited from RE::NiTMapBase< NiTDefaultAllocator< NiTMapItem< Key, T > >, Key, T > | |
virtual std::uint32_t | hash_function (key_type a_key) const |
virtual bool | key_eq (key_type a_lhs, key_type a_rhs) const |
virtual void | assign_value (value_type *a_value, key_type a_key, mapped_type a_mapped) |
virtual void | clear_value (value_type *a_value) |
virtual value_type * | malloc_value ()=0 |
virtual void | free_value (value_type *a_value)=0 |
Additional Inherited Members | |
Protected Attributes inherited from RE::NiTMapBase< NiTDefaultAllocator< NiTMapItem< Key, T > >, Key, T > | |
std::uint32_t | _capacity |
std::uint32_t | _pad0C |
value_type ** | _data |
AntiBloatAllocator | _allocator |
using RE::NiTMap< Key, T >::key_type = typename Base::key_type |
using RE::NiTMap< Key, T >::mapped_type = typename Base::mapped_type |
using RE::NiTMap< Key, T >::size_type = typename Base::size_type |
using RE::NiTMap< Key, T >::value_type = typename Base::value_type |
|
inline |
|
inlineoverride |
|
inlineoverrideprotectedvirtual |
|
inlineoverrideprotectedvirtual |