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>

Collaboration diagram for Allocators::Storage_Reallocate< Allocator, GrowthPolicy >:
Collaboration graph
[legend]

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

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

Member Function Documentation

template<class Allocator = Allocator_Heap, class GrowthPolicy = Growth_Exponential<>>
uintptr_t Allocators::Storage_Reallocate< Allocator, GrowthPolicy >::Address ( ) const
inline
template<class Allocator = Allocator_Heap, class GrowthPolicy = Growth_Exponential<>>
size_t Allocators::Storage_Reallocate< Allocator, GrowthPolicy >::Capacity ( ) const
inline
template<class Allocator = Allocator_Heap, class GrowthPolicy = Growth_Exponential<>>
bool Allocators::Storage_Reallocate< Allocator, GrowthPolicy >::Expand ( size_t  requiredCapacity)
inline
template<class Allocator = Allocator_Heap, class GrowthPolicy = Growth_Exponential<>>
size_t Allocators::Storage_Reallocate< Allocator, GrowthPolicy >::MaxCapacity ( ) const
inline
template<class Allocator = Allocator_Heap, class GrowthPolicy = Growth_Exponential<>>
Allocators::Storage_Reallocate< Allocator, GrowthPolicy >::NONCOPYABLE ( Storage_Reallocate< Allocator, GrowthPolicy >  )
private

Member Data Documentation

template<class Allocator = Allocator_Heap, class GrowthPolicy = Growth_Exponential<>>
Allocator Allocators::Storage_Reallocate< Allocator, GrowthPolicy >::allocator
private
template<class Allocator = Allocator_Heap, class GrowthPolicy = Growth_Exponential<>>
size_t Allocators::Storage_Reallocate< Allocator, GrowthPolicy >::capacity
private
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: