Pyrogenesis  trunk
Public Member Functions | Private Member Functions | Private Attributes | List of all members
Allocators::Storage_Fixed< Allocator > Class Template Reference

#include <allocator_policies.h>

Public Member Functions

 Storage_Fixed (size_t size)
 
 ~Storage_Fixed ()
 
uintptr_t Address () const
 
size_t Capacity () const
 
size_t MaxCapacity () const
 
bool Expand (size_t requiredCapacity)
 

Private Member Functions

 NONCOPYABLE (Storage_Fixed)
 

Private Attributes

Allocator allocator
 
size_t maxCapacity
 
void * storage
 

Constructor & Destructor Documentation

◆ Storage_Fixed()

template<class Allocator = Allocator_Aligned<>>
Allocators::Storage_Fixed< Allocator >::Storage_Fixed ( size_t  size)
inline

◆ ~Storage_Fixed()

template<class Allocator = Allocator_Aligned<>>
Allocators::Storage_Fixed< Allocator >::~Storage_Fixed ( )
inline

Member Function Documentation

◆ Address()

template<class Allocator = Allocator_Aligned<>>
uintptr_t Allocators::Storage_Fixed< Allocator >::Address ( ) const
inline

◆ Capacity()

template<class Allocator = Allocator_Aligned<>>
size_t Allocators::Storage_Fixed< Allocator >::Capacity ( ) const
inline

◆ Expand()

template<class Allocator = Allocator_Aligned<>>
bool Allocators::Storage_Fixed< Allocator >::Expand ( size_t  requiredCapacity)
inline

◆ MaxCapacity()

template<class Allocator = Allocator_Aligned<>>
size_t Allocators::Storage_Fixed< Allocator >::MaxCapacity ( ) const
inline

◆ NONCOPYABLE()

template<class Allocator = Allocator_Aligned<>>
Allocators::Storage_Fixed< Allocator >::NONCOPYABLE ( Storage_Fixed< Allocator >  )
private

Member Data Documentation

◆ allocator

template<class Allocator = Allocator_Aligned<>>
Allocator Allocators::Storage_Fixed< Allocator >::allocator
private

◆ maxCapacity

template<class Allocator = Allocator_Aligned<>>
size_t Allocators::Storage_Fixed< Allocator >::maxCapacity
private

◆ storage

template<class Allocator = Allocator_Aligned<>>
void* Allocators::Storage_Fixed< Allocator >::storage
private

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