CommonLibSSE (Parapets fork)
RE::BSUntypedPointerHandle< FREE_LIST_BITS, AGE_SHIFT > Class Template Reference

#include <BSPointerHandle.h>

Public Types

enum  : std::uint32_t { kFreeListBits = FREE_LIST_BITS , kAgeShift = AGE_SHIFT }
 
using value_type = std::uint32_t
 

Public Member Functions

 BSUntypedPointerHandle () noexcept=default
 
 BSUntypedPointerHandle (const BSUntypedPointerHandle &) noexcept=default
 
 BSUntypedPointerHandle (BSUntypedPointerHandle &&a_rhs) noexcept
 
 BSUntypedPointerHandle (value_type a_handle) noexcept
 
 ~BSUntypedPointerHandle () noexcept
 
BSUntypedPointerHandleoperator= (const BSUntypedPointerHandle &) noexcept=default
 
BSUntypedPointerHandleoperator= (BSUntypedPointerHandle &&a_rhs) noexcept
 
BSUntypedPointerHandleoperator= (value_type a_rhs) noexcept
 
 operator bool () const noexcept
 
bool has_value () const noexcept
 
value_type value () const noexcept
 
void reset () noexcept
 

Friends

bool operator== (const BSUntypedPointerHandle &a_lhs, const BSUntypedPointerHandle &a_rhs) noexcept
 
bool operator!= (const BSUntypedPointerHandle &a_lhs, const BSUntypedPointerHandle &a_rhs) noexcept
 

Member Typedef Documentation

◆ value_type

template<std::uint32_t FREE_LIST_BITS, std::uint32_t AGE_SHIFT>
using RE::BSUntypedPointerHandle< FREE_LIST_BITS, AGE_SHIFT >::value_type = std::uint32_t

Member Enumeration Documentation

◆ anonymous enum

template<std::uint32_t FREE_LIST_BITS, std::uint32_t AGE_SHIFT>
anonymous enum : std::uint32_t
Enumerator
kFreeListBits 
kAgeShift 

Constructor & Destructor Documentation

◆ BSUntypedPointerHandle() [1/4]

template<std::uint32_t FREE_LIST_BITS, std::uint32_t AGE_SHIFT>
RE::BSUntypedPointerHandle< FREE_LIST_BITS, AGE_SHIFT >::BSUntypedPointerHandle ( )
defaultnoexcept

◆ BSUntypedPointerHandle() [2/4]

template<std::uint32_t FREE_LIST_BITS, std::uint32_t AGE_SHIFT>
RE::BSUntypedPointerHandle< FREE_LIST_BITS, AGE_SHIFT >::BSUntypedPointerHandle ( const BSUntypedPointerHandle< FREE_LIST_BITS, AGE_SHIFT > &  )
defaultnoexcept

◆ BSUntypedPointerHandle() [3/4]

template<std::uint32_t FREE_LIST_BITS, std::uint32_t AGE_SHIFT>
RE::BSUntypedPointerHandle< FREE_LIST_BITS, AGE_SHIFT >::BSUntypedPointerHandle ( BSUntypedPointerHandle< FREE_LIST_BITS, AGE_SHIFT > &&  a_rhs)
inlinenoexcept

◆ BSUntypedPointerHandle() [4/4]

template<std::uint32_t FREE_LIST_BITS, std::uint32_t AGE_SHIFT>
RE::BSUntypedPointerHandle< FREE_LIST_BITS, AGE_SHIFT >::BSUntypedPointerHandle ( value_type  a_handle)
inlineexplicitnoexcept

◆ ~BSUntypedPointerHandle()

template<std::uint32_t FREE_LIST_BITS, std::uint32_t AGE_SHIFT>
RE::BSUntypedPointerHandle< FREE_LIST_BITS, AGE_SHIFT >::~BSUntypedPointerHandle ( )
inlinenoexcept

Member Function Documentation

◆ has_value()

template<std::uint32_t FREE_LIST_BITS, std::uint32_t AGE_SHIFT>
bool RE::BSUntypedPointerHandle< FREE_LIST_BITS, AGE_SHIFT >::has_value ( ) const
inlinenoexcept

◆ operator bool()

template<std::uint32_t FREE_LIST_BITS, std::uint32_t AGE_SHIFT>
RE::BSUntypedPointerHandle< FREE_LIST_BITS, AGE_SHIFT >::operator bool ( ) const
inlineexplicitnoexcept

◆ operator=() [1/3]

template<std::uint32_t FREE_LIST_BITS, std::uint32_t AGE_SHIFT>
BSUntypedPointerHandle& RE::BSUntypedPointerHandle< FREE_LIST_BITS, AGE_SHIFT >::operator= ( BSUntypedPointerHandle< FREE_LIST_BITS, AGE_SHIFT > &&  a_rhs)
inlinenoexcept

◆ operator=() [2/3]

template<std::uint32_t FREE_LIST_BITS, std::uint32_t AGE_SHIFT>
BSUntypedPointerHandle& RE::BSUntypedPointerHandle< FREE_LIST_BITS, AGE_SHIFT >::operator= ( const BSUntypedPointerHandle< FREE_LIST_BITS, AGE_SHIFT > &  )
defaultnoexcept

◆ operator=() [3/3]

template<std::uint32_t FREE_LIST_BITS, std::uint32_t AGE_SHIFT>
BSUntypedPointerHandle& RE::BSUntypedPointerHandle< FREE_LIST_BITS, AGE_SHIFT >::operator= ( value_type  a_rhs)
inlinenoexcept

◆ reset()

template<std::uint32_t FREE_LIST_BITS, std::uint32_t AGE_SHIFT>
void RE::BSUntypedPointerHandle< FREE_LIST_BITS, AGE_SHIFT >::reset ( )
inlinenoexcept

◆ value()

template<std::uint32_t FREE_LIST_BITS, std::uint32_t AGE_SHIFT>
value_type RE::BSUntypedPointerHandle< FREE_LIST_BITS, AGE_SHIFT >::value ( ) const
inlinenoexcept

Friends And Related Function Documentation

◆ operator!=

template<std::uint32_t FREE_LIST_BITS, std::uint32_t AGE_SHIFT>
bool operator!= ( const BSUntypedPointerHandle< FREE_LIST_BITS, AGE_SHIFT > &  a_lhs,
const BSUntypedPointerHandle< FREE_LIST_BITS, AGE_SHIFT > &  a_rhs 
)
friend

◆ operator==

template<std::uint32_t FREE_LIST_BITS, std::uint32_t AGE_SHIFT>
bool operator== ( const BSUntypedPointerHandle< FREE_LIST_BITS, AGE_SHIFT > &  a_lhs,
const BSUntypedPointerHandle< FREE_LIST_BITS, AGE_SHIFT > &  a_rhs 
)
friend

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