CommonLibSSE (Parapets fork)
RE::BSTSmallArrayHeapAllocator< N > Class Template Reference

#include <BSTArray.h>

Public Types

using size_type = std::uint32_t
 

Public Member Functions

constexpr BSTSmallArrayHeapAllocator () noexcept
 
 BSTSmallArrayHeapAllocator (const BSTSmallArrayHeapAllocator &a_rhs)
 
 BSTSmallArrayHeapAllocator (BSTSmallArrayHeapAllocator &&a_rhs)
 
 ~BSTSmallArrayHeapAllocator ()
 
BSTSmallArrayHeapAllocatoroperator= (const BSTSmallArrayHeapAllocator &a_rhs)
 
BSTSmallArrayHeapAllocatoroperator= (BSTSmallArrayHeapAllocator &&a_rhs)
 
 TES_HEAP_REDEFINE_NEW ()
 
constexpr void * data () noexcept
 
constexpr const void * data () const noexcept
 
constexpr size_type capacity () const noexcept
 

Protected Member Functions

void * allocate (std::size_t a_size)
 
void deallocate (void *a_ptr)
 
constexpr void set_allocator_traits (void *a_data, std::uint32_t a_capacity, std::size_t a_typeSize) noexcept
 

Member Typedef Documentation

◆ size_type

template<std::uint32_t N>
using RE::BSTSmallArrayHeapAllocator< N >::size_type = std::uint32_t

Constructor & Destructor Documentation

◆ BSTSmallArrayHeapAllocator() [1/3]

template<std::uint32_t N>
constexpr RE::BSTSmallArrayHeapAllocator< N >::BSTSmallArrayHeapAllocator ( )
inlineconstexprnoexcept

◆ BSTSmallArrayHeapAllocator() [2/3]

template<std::uint32_t N>
RE::BSTSmallArrayHeapAllocator< N >::BSTSmallArrayHeapAllocator ( const BSTSmallArrayHeapAllocator< N > &  a_rhs)
inline

◆ BSTSmallArrayHeapAllocator() [3/3]

template<std::uint32_t N>
RE::BSTSmallArrayHeapAllocator< N >::BSTSmallArrayHeapAllocator ( BSTSmallArrayHeapAllocator< N > &&  a_rhs)
inline

◆ ~BSTSmallArrayHeapAllocator()

template<std::uint32_t N>
RE::BSTSmallArrayHeapAllocator< N >::~BSTSmallArrayHeapAllocator ( )
inline

Member Function Documentation

◆ allocate()

template<std::uint32_t N>
void* RE::BSTSmallArrayHeapAllocator< N >::allocate ( std::size_t  a_size)
inlineprotected

◆ capacity()

template<std::uint32_t N>
constexpr size_type RE::BSTSmallArrayHeapAllocator< N >::capacity ( ) const
inlineconstexprnoexcept

◆ data() [1/2]

template<std::uint32_t N>
constexpr const void* RE::BSTSmallArrayHeapAllocator< N >::data ( ) const
inlineconstexprnoexcept

◆ data() [2/2]

template<std::uint32_t N>
constexpr void* RE::BSTSmallArrayHeapAllocator< N >::data ( )
inlineconstexprnoexcept

◆ deallocate()

template<std::uint32_t N>
void RE::BSTSmallArrayHeapAllocator< N >::deallocate ( void *  a_ptr)
inlineprotected

◆ operator=() [1/2]

template<std::uint32_t N>
BSTSmallArrayHeapAllocator& RE::BSTSmallArrayHeapAllocator< N >::operator= ( BSTSmallArrayHeapAllocator< N > &&  a_rhs)
inline

◆ operator=() [2/2]

template<std::uint32_t N>
BSTSmallArrayHeapAllocator& RE::BSTSmallArrayHeapAllocator< N >::operator= ( const BSTSmallArrayHeapAllocator< N > &  a_rhs)
inline

◆ set_allocator_traits()

template<std::uint32_t N>
constexpr void RE::BSTSmallArrayHeapAllocator< N >::set_allocator_traits ( void *  a_data,
std::uint32_t  a_capacity,
std::size_t  a_typeSize 
)
inlineconstexprprotectednoexcept

◆ TES_HEAP_REDEFINE_NEW()

template<std::uint32_t N>
RE::BSTSmallArrayHeapAllocator< N >::TES_HEAP_REDEFINE_NEW ( )

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