CommonLibSSE (Parapets fork)
RE::BSScrapArrayAllocator Class Reference

#include <BSTArray.h>

Public Types

using size_type = std::uint32_t
 

Public Member Functions

constexpr BSScrapArrayAllocator () noexcept=default
 
 BSScrapArrayAllocator (const BSScrapArrayAllocator &a_rhs)
 
constexpr BSScrapArrayAllocator (BSScrapArrayAllocator &&a_rhs) noexcept
 
 ~BSScrapArrayAllocator ()
 
BSScrapArrayAllocatoroperator= (const BSScrapArrayAllocator &a_rhs)
 
BSScrapArrayAllocatoroperator= (BSScrapArrayAllocator &&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) noexcept
 

Member Typedef Documentation

◆ size_type

using RE::BSScrapArrayAllocator::size_type = std::uint32_t

Constructor & Destructor Documentation

◆ BSScrapArrayAllocator() [1/3]

constexpr RE::BSScrapArrayAllocator::BSScrapArrayAllocator ( )
constexprdefaultnoexcept

◆ BSScrapArrayAllocator() [2/3]

RE::BSScrapArrayAllocator::BSScrapArrayAllocator ( const BSScrapArrayAllocator a_rhs)
inline

◆ BSScrapArrayAllocator() [3/3]

constexpr RE::BSScrapArrayAllocator::BSScrapArrayAllocator ( BSScrapArrayAllocator &&  a_rhs)
inlineconstexprnoexcept

◆ ~BSScrapArrayAllocator()

RE::BSScrapArrayAllocator::~BSScrapArrayAllocator ( )

Member Function Documentation

◆ allocate()

void* RE::BSScrapArrayAllocator::allocate ( std::size_t  a_size)
protected

◆ capacity()

constexpr size_type RE::BSScrapArrayAllocator::capacity ( ) const
inlineconstexprnoexcept

◆ data() [1/2]

constexpr const void* RE::BSScrapArrayAllocator::data ( ) const
inlineconstexprnoexcept

◆ data() [2/2]

constexpr void* RE::BSScrapArrayAllocator::data ( )
inlineconstexprnoexcept

◆ deallocate()

void RE::BSScrapArrayAllocator::deallocate ( void *  a_ptr)
protected

◆ operator=() [1/2]

BSScrapArrayAllocator& RE::BSScrapArrayAllocator::operator= ( BSScrapArrayAllocator &&  a_rhs)
inline

◆ operator=() [2/2]

BSScrapArrayAllocator& RE::BSScrapArrayAllocator::operator= ( const BSScrapArrayAllocator a_rhs)
inline

◆ set_allocator_traits()

constexpr void RE::BSScrapArrayAllocator::set_allocator_traits ( void *  a_data,
std::uint32_t  a_capacity,
std::size_t   
)
inlineconstexprprotectednoexcept

◆ TES_HEAP_REDEFINE_NEW()

RE::BSScrapArrayAllocator::TES_HEAP_REDEFINE_NEW ( )

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