CommonLibSSE NG
Loading...
Searching...
No Matches
RE::NiTStringMap< T > Class Template Reference

#include <NiTStringMap.h>

Inheritance diagram for RE::NiTStringMap< T >:
RE::NiTStringTemplateMap< NiTMap< const char *, T >, T > RE::NiTMap< const char *, T > RE::NiTMapBase< Allocator, Key, T > RE::BSTCaseInsensitiveStringMap< Setting * > RE::BSTCaseInsensitiveStringMap< T * > RE::BSTCaseInsensitiveStringMap< T >

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::NiTStringTemplateMap< NiTMap< const char *, T >, T >
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::NiTMap< const char *, T >
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< Allocator, 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

virtual ~NiTStringMap ()
 
- Public Member Functions inherited from RE::NiTStringTemplateMap< NiTMap< const char *, T >, T >
 NiTStringTemplateMap (std::uint32_t a_hashSize=37, bool a_copy=true)
 
virtual ~NiTStringTemplateMap ()
 
- Public Member Functions inherited from RE::NiTMap< const char *, T >
 NiTMap (std::uint32_t a_hashSize=37)
 
 ~NiTMap () override
 
- Public Member Functions inherited from RE::NiTMapBase< Allocator, 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 ()
 
template<class M >
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
 

Additional Inherited Members

- Protected Member Functions inherited from RE::NiTStringTemplateMap< NiTMap< const char *, T >, T >
std::uint32_t hash_function (key_type a_key) const override
 
bool key_eq (key_type a_lhs, key_type a_rhs) const override
 
void assign_value (value_type *a_value, key_type a_key, mapped_type a_mapped) override
 
void clear_value (value_type *a_value) override
 
- Protected Member Functions inherited from RE::NiTMap< const char *, T >
value_typemalloc_value () override
 
void free_value (value_type *a_value) override
 
- Protected Member Functions inherited from RE::NiTMapBase< Allocator, 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_typemalloc_value ()=0
 
virtual void free_value (value_type *a_value)=0
 
- Protected Attributes inherited from RE::NiTStringTemplateMap< NiTMap< const char *, T >, T >
bool _copy
 
std::uint8_t _pad21
 
std::uint16_t _pad22
 
std::uint32_t _pad24
 
- Protected Attributes inherited from RE::NiTMapBase< Allocator, Key, T >
std::uint32_t _capacity
 
std::uint32_t _pad0C
 
value_type ** _data
 
AntiBloatAllocator _allocator
 

Member Typedef Documentation

◆ key_type

template<class T >
using RE::NiTStringMap< T >::key_type = typename Base::key_type

◆ mapped_type

template<class T >
using RE::NiTStringMap< T >::mapped_type = typename Base::mapped_type

◆ size_type

template<class T >
using RE::NiTStringMap< T >::size_type = typename Base::size_type

◆ value_type

template<class T >
using RE::NiTStringMap< T >::value_type = typename Base::value_type

Constructor & Destructor Documentation

◆ ~NiTStringMap()

template<class T >
virtual RE::NiTStringMap< T >::~NiTStringMap ( )
virtual

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