boost::detail::allocator_impl< size, align_ > Struct Template Reference

#include <sysc/packages/boost/detail/quick_allocator.hpp>

Inheritance diagram for boost::detail::allocator_impl< size, align_ >:

Inheritance graph
[legend]
Collaboration diagram for boost::detail::allocator_impl< size, align_ >:

Collaboration graph
[legend]

List of all members.

Public Types

enum  { items_per_page = 512 / size }
typedef freeblock< size, align_ > block

Static Public Member Functions

static void * alloc ()
static void * alloc (std::size_t n)
static void dealloc (void *pv)
static void dealloc (void *pv, std::size_t n)

Static Public Attributes

static blockfree = 0
static blockpage = 0
static unsigned last = allocator_impl<size, align_>::items_per_page


Detailed Description

template<unsigned size, unsigned align_>
struct boost::detail::allocator_impl< size, align_ >

Definition at line 44 of file quick_allocator.hpp.


Member Typedef Documentation

template<unsigned size, unsigned align_>
typedef freeblock<size, align_> boost::detail::allocator_impl< size, align_ >::block

Definition at line 46 of file quick_allocator.hpp.


Member Enumeration Documentation

template<unsigned size, unsigned align_>
anonymous enum

Enumerator:
items_per_page 

Definition at line 69 of file quick_allocator.hpp.


Member Function Documentation

template<unsigned size, unsigned align_>
static void* boost::detail::allocator_impl< size, align_ >::alloc (  )  [inline, static]

Definition at line 81 of file quick_allocator.hpp.

template<unsigned size, unsigned align_>
static void* boost::detail::allocator_impl< size, align_ >::alloc ( std::size_t  n  )  [inline, static]

Definition at line 105 of file quick_allocator.hpp.

template<unsigned size, unsigned align_>
static void boost::detail::allocator_impl< size, align_ >::dealloc ( void *  pv  )  [inline, static]

Definition at line 134 of file quick_allocator.hpp.

template<unsigned size, unsigned align_>
static void boost::detail::allocator_impl< size, align_ >::dealloc ( void *  pv,
std::size_t  n 
) [inline, static]

Definition at line 147 of file quick_allocator.hpp.


Member Data Documentation

template<unsigned size, unsigned align_>
freeblock< size, align_ > * boost::detail::allocator_impl< size, align_ >::free = 0 [inline, static]

Definition at line 77 of file quick_allocator.hpp.

template<unsigned size, unsigned align_>
freeblock< size, align_ > * boost::detail::allocator_impl< size, align_ >::page = 0 [inline, static]

Definition at line 78 of file quick_allocator.hpp.

template<unsigned size, unsigned align_>
unsigned boost::detail::allocator_impl< size, align_ >::last = allocator_impl<size, align_>::items_per_page [inline, static]

Definition at line 79 of file quick_allocator.hpp.


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

Generated on Wed Jan 21 15:32:12 2009 for SystemC by  doxygen 1.5.5