Pyrogenesis  13997
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Private Member Functions | Private Attributes | List of all members
Allocators::Storage_AutoCommit< Allocator > Class Template Reference

#include <allocator_policies.h>

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
 

Detailed Description

template<class Allocator = Allocator_AddressSpace<>>
class Allocators::Storage_AutoCommit< Allocator >

Definition at line 267 of file allocator_policies.h.

Constructor & Destructor Documentation

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

Definition at line 271 of file allocator_policies.h.

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

Definition at line 278 of file allocator_policies.h.

Member Function Documentation

template<class Allocator = Allocator_AddressSpace<>>
uintptr_t Allocators::Storage_AutoCommit< Allocator >::Address ( ) const
inline

Definition at line 284 of file allocator_policies.h.

template<class Allocator = Allocator_AddressSpace<>>
size_t Allocators::Storage_AutoCommit< Allocator >::Capacity ( ) const
inline

Definition at line 289 of file allocator_policies.h.

template<class Allocator = Allocator_AddressSpace<>>
bool Allocators::Storage_AutoCommit< Allocator >::Expand ( size_t  requiredCapacity)
inline

Definition at line 299 of file allocator_policies.h.

template<class Allocator = Allocator_AddressSpace<>>
size_t Allocators::Storage_AutoCommit< Allocator >::MaxCapacity ( ) const
inline

Definition at line 294 of file allocator_policies.h.

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

Definition at line 305 of file allocator_policies.h.

template<class Allocator = Allocator_AddressSpace<>>
size_t Allocators::Storage_AutoCommit< Allocator >::maxCapacity
private

Definition at line 306 of file allocator_policies.h.

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

Definition at line 307 of file allocator_policies.h.


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