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_Fixed< Allocator > Class Template Reference

#include <allocator_policies.h>

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
 

Detailed Description

template<class Allocator = Allocator_Aligned<>>
class Allocators::Storage_Fixed< Allocator >

Definition at line 108 of file allocator_policies.h.

Constructor & Destructor Documentation

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

Definition at line 112 of file allocator_policies.h.

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

Definition at line 118 of file allocator_policies.h.

Member Function Documentation

template<class Allocator = Allocator_Aligned<>>
uintptr_t Allocators::Storage_Fixed< Allocator >::Address ( ) const
inline

Definition at line 123 of file allocator_policies.h.

template<class Allocator = Allocator_Aligned<>>
size_t Allocators::Storage_Fixed< Allocator >::Capacity ( ) const
inline

Definition at line 128 of file allocator_policies.h.

template<class Allocator = Allocator_Aligned<>>
bool Allocators::Storage_Fixed< Allocator >::Expand ( size_t  requiredCapacity)
inline

Definition at line 138 of file allocator_policies.h.

template<class Allocator = Allocator_Aligned<>>
size_t Allocators::Storage_Fixed< Allocator >::MaxCapacity ( ) const
inline

Definition at line 133 of file allocator_policies.h.

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

Definition at line 144 of file allocator_policies.h.

template<class Allocator = Allocator_Aligned<>>
size_t Allocators::Storage_Fixed< Allocator >::maxCapacity
private

Definition at line 145 of file allocator_policies.h.

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

Definition at line 146 of file allocator_policies.h.


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