Code::Blocks
SVN r11506
|
#include <blockallocated.h>
Classes | |
union | LinkedBlock |
Public Member Functions | |
BlockAllocator () | |
~BlockAllocator () | |
void * | New () |
void | Delete (void *ptr) |
Private Member Functions | |
void | AllocBlockPushBack () |
void | PushFront (LinkedBlock< T > *p) |
Private Attributes | |
std::vector< LinkedBlock< T > * > | allocBlocks |
LinkedBlock< T > * | first |
int | ref_count |
int | max_refs |
int | total_refs |
Definition at line 28 of file blockallocated.h.
union BlockAllocator::LinkedBlock |
Definition at line 31 of file blockallocated.h.
Class Members | ||
---|---|---|
char | data[sizeof(U)] | |
LinkedBlock< U > * | next |
|
inline |
Definition at line 67 of file blockallocated.h.
|
inline |
Definition at line 74 of file blockallocated.h.
References cbC2U(), BlkAllc::DebugLog(), BlkAllc::enable_global_debug, and BlkAllc::verbose.
|
inlineprivate |
Definition at line 44 of file blockallocated.h.
References BlockAllocator< T, pool_size, debug >::LinkedBlock< U >::next, and ParserConsts::ptr.
|
inline |
Definition at line 102 of file blockallocated.h.
References BlkAllc::enable_global_debug.
Referenced by BlockAllocated< T, pool_size, debug >::operator delete().
|
inline |
Definition at line 85 of file blockallocated.h.
References BlkAllc::enable_global_debug, and BlockAllocator< T, pool_size, debug >::LinkedBlock< U >::next.
Referenced by BlockAllocated< T, pool_size, debug >::operator new().
|
inlineprivate |
Definition at line 59 of file blockallocated.h.
References BlockAllocator< T, pool_size, debug >::LinkedBlock< U >::next.
|
private |
Definition at line 37 of file blockallocated.h.
|
private |
Definition at line 39 of file blockallocated.h.
|
private |
Definition at line 41 of file blockallocated.h.
|
private |
Definition at line 40 of file blockallocated.h.
|
private |
Definition at line 42 of file blockallocated.h.