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>

Collaboration diagram for Allocators::Storage_Fixed< Allocator >:
Collaboration graph
[legend]

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

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

Member Function Documentation

template<class Allocator = Allocator_Aligned<>>
uintptr_t Allocators::Storage_Fixed< Allocator >::Address ( ) const
inline
template<class Allocator = Allocator_Aligned<>>
size_t Allocators::Storage_Fixed< Allocator >::Capacity ( ) const
inline
template<class Allocator = Allocator_Aligned<>>
bool Allocators::Storage_Fixed< Allocator >::Expand ( size_t  requiredCapacity)
inline
template<class Allocator = Allocator_Aligned<>>
size_t Allocators::Storage_Fixed< Allocator >::MaxCapacity ( ) const
inline
template<class Allocator = Allocator_Aligned<>>
Allocators::Storage_Fixed< Allocator >::NONCOPYABLE ( Storage_Fixed< Allocator )
private

Member Data Documentation

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

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