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

#include <allocator_policies.h>

Public Member Functions

 Storage_Reallocate (size_t initialCapacity)
 
 ~Storage_Reallocate ()
 
uintptr_t Address () const
 
size_t Capacity () const
 
size_t MaxCapacity () const
 
bool Expand (size_t requiredCapacity)
 

Private Member Functions

 NONCOPYABLE (Storage_Reallocate)
 

Private Attributes

Allocator allocator
 
size_t capacity
 
void * storage
 

Constructor & Destructor Documentation

◆ Storage_Reallocate()

template<class Allocator = Allocator_Heap, class GrowthPolicy = Growth_Exponential<>>
Allocators::Storage_Reallocate< Allocator, GrowthPolicy >::Storage_Reallocate ( size_t  initialCapacity)
inline

◆ ~Storage_Reallocate()

template<class Allocator = Allocator_Heap, class GrowthPolicy = Growth_Exponential<>>
Allocators::Storage_Reallocate< Allocator, GrowthPolicy >::~Storage_Reallocate ( )
inline

Member Function Documentation

◆ Address()

template<class Allocator = Allocator_Heap, class GrowthPolicy = Growth_Exponential<>>
uintptr_t Allocators::Storage_Reallocate< Allocator, GrowthPolicy >::Address ( ) const
inline

◆ Capacity()

template<class Allocator = Allocator_Heap, class GrowthPolicy = Growth_Exponential<>>
size_t Allocators::Storage_Reallocate< Allocator, GrowthPolicy >::Capacity ( ) const
inline

◆ Expand()

template<class Allocator = Allocator_Heap, class GrowthPolicy = Growth_Exponential<>>
bool Allocators::Storage_Reallocate< Allocator, GrowthPolicy >::Expand ( size_t  requiredCapacity)
inline

◆ MaxCapacity()

template<class Allocator = Allocator_Heap, class GrowthPolicy = Growth_Exponential<>>
size_t Allocators::Storage_Reallocate< Allocator, GrowthPolicy >::MaxCapacity ( ) const
inline

◆ NONCOPYABLE()

template<class Allocator = Allocator_Heap, class GrowthPolicy = Growth_Exponential<>>
Allocators::Storage_Reallocate< Allocator, GrowthPolicy >::NONCOPYABLE ( Storage_Reallocate< Allocator, GrowthPolicy >  )
private

Member Data Documentation

◆ allocator

template<class Allocator = Allocator_Heap, class GrowthPolicy = Growth_Exponential<>>
Allocator Allocators::Storage_Reallocate< Allocator, GrowthPolicy >::allocator
private

◆ capacity

template<class Allocator = Allocator_Heap, class GrowthPolicy = Growth_Exponential<>>
size_t Allocators::Storage_Reallocate< Allocator, GrowthPolicy >::capacity
private

◆ storage

template<class Allocator = Allocator_Heap, class GrowthPolicy = Growth_Exponential<>>
void* Allocators::Storage_Reallocate< Allocator, GrowthPolicy >::storage
private

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