momo  3.9
momo::internal::PtrCaster Class Reference

#include <Utility.h>

Static Public Member Functions

template<typename Object >
static uintptr_t ToUInt (Object *ptr) noexcept
 
template<typename ResObject = void>
static ResObject * FromUInt (uintptr_t intPtr) noexcept
 
template<typename ResObject , typename Object , typename Offset >
static ResObject * Shift (Object *ptr, Offset byteOffset) noexcept
 

Member Function Documentation

◆ FromUInt()

template<typename ResObject = void>
static ResObject* momo::internal::PtrCaster::FromUInt ( uintptr_t  intPtr)
inlinestaticnoexcept

◆ Shift()

template<typename ResObject , typename Object , typename Offset >
static ResObject* momo::internal::PtrCaster::Shift ( Object *  ptr,
Offset  byteOffset 
)
inlinestaticnoexcept

◆ ToUInt()

template<typename Object >
static uintptr_t momo::internal::PtrCaster::ToUInt ( Object *  ptr)
inlinestaticnoexcept

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