GCS  0.2.3
Data Structures | Public Types | Public Member Functions | Static Public Attributes
gu::Allocator Class Reference

Data Structures

class  BaseName
 

Public Types

typedef unsigned int page_size_type
 
typedef page_size_type heap_size_type
 

Public Member Functions

 Allocator (const BaseName &base_name=BASE_NAME_DEFAULT, byte_t *reserved=NULL, page_size_type reserved_size=0, heap_size_type max_heap=(1U<< 22), page_size_type disk_page_size=(1U<< 26))
 
byte_t * alloc (page_size_type const size, bool &new_page)
 
size_t size () const
 
size_t count () const
 

Static Public Attributes

static size_t const INITIAL_VECTOR_SIZE = 4
 

Member Function Documentation

byte_t* gu::Allocator::alloc ( page_size_type const  size,
bool &  new_page 
)
Parameters
new_page- true if not adjucent to previous allocation

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