GameApi 28
Library used by GameApi Builder tool
Loading...
Searching...
No Matches
GameApiAllocator< T > Class Template Reference

#include <GraphI.hh>

Inheritance diagram for GameApiAllocator< T >:
Collaboration diagram for GameApiAllocator< T >:

Public Types

typedef T * pointer
typedef const T * const_pointer
typedef void * void_pointer
typedef const void * const_void_pointer
typedef T value_type
typedef uint32_t size_type
typedef int32_t difference_type

Public Member Functions

void print () const
template<class U, typename... Args>
void construct (U *p, Args &&... args)
template<typename U>
void destroy (U *p)

Static Public Attributes

static uint32_t m_free_mem
static uint32_t m_changed_mem
static uint32_t m_used_mem

Member Typedef Documentation

◆ const_pointer

template<class T>
typedef const T* GameApiAllocator< T >::const_pointer

◆ const_void_pointer

template<class T>
typedef const void* GameApiAllocator< T >::const_void_pointer

◆ difference_type

template<class T>
typedef int32_t GameApiAllocator< T >::difference_type

◆ pointer

template<class T>
typedef T* GameApiAllocator< T >::pointer

◆ size_type

template<class T>
typedef uint32_t GameApiAllocator< T >::size_type

◆ value_type

template<class T>
typedef T GameApiAllocator< T >::value_type

◆ void_pointer

template<class T>
typedef void* GameApiAllocator< T >::void_pointer

Member Function Documentation

◆ construct()

template<class T>
template<class U, typename... Args>
void GameApiAllocator< T >::construct ( U * p,
Args &&... args )
inline

◆ destroy()

template<class T>
template<typename U>
void GameApiAllocator< T >::destroy ( U * p)
inline

◆ print()

template<class T>
void GameApiAllocator< T >::print ( ) const
inline

Member Data Documentation

◆ m_changed_mem

template<class T>
uint32_t GameApiAllocator< T >::m_changed_mem
static

◆ m_free_mem

template<class T>
uint32_t GameApiAllocator< T >::m_free_mem
static

◆ m_used_mem

template<class T>
uint32_t GameApiAllocator< T >::m_used_mem
static

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