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

#include <allocator_policies.h>

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

Public Member Functions

 Storage_AutoCommit (size_t maxCapacity_)
 
 ~Storage_AutoCommit ()
 
uintptr_t Address () const
 
size_t Capacity () const
 
size_t MaxCapacity () const
 
bool Expand (size_t requiredCapacity)
 

Private Member Functions

 NONCOPYABLE (Storage_AutoCommit)
 

Private Attributes

Allocator allocator
 
size_t maxCapacity
 
void * storage
 

Constructor & Destructor Documentation

template<class Allocator = Allocator_AddressSpace<>>
Allocators::Storage_AutoCommit< Allocator >::Storage_AutoCommit ( size_t  maxCapacity_)
inline
template<class Allocator = Allocator_AddressSpace<>>
Allocators::Storage_AutoCommit< Allocator >::~Storage_AutoCommit ( )
inline

Member Function Documentation

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

Member Data Documentation

template<class Allocator = Allocator_AddressSpace<>>
Allocator Allocators::Storage_AutoCommit< Allocator >::allocator
private
template<class Allocator = Allocator_AddressSpace<>>
size_t Allocators::Storage_AutoCommit< Allocator >::maxCapacity
private
template<class Allocator = Allocator_AddressSpace<>>
void* Allocators::Storage_AutoCommit< Allocator >::storage
private

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