PLearn 0.1
|
#include <ArrayAllocator.h>
Public Types | |
enum | DeallocatorType { DeallocatorNull = 0, DeallocatorUnsorted = 1, DeallocatorSorted = 2 } |
Set the type of deallocator to use. More... | |
Public Member Functions | |
ArrayAllocatorOptions () | |
Default values. | |
Public Attributes | |
Option< size_t, self > | numObjs |
Set number of objects in the array. | |
Option< DeallocatorType, self > | deallocatorType |
Private Types | |
typedef ArrayAllocatorOptions | self |
Definition at line 86 of file ArrayAllocator.h.
typedef ArrayAllocatorOptions PLearn::ArrayAllocatorOptions::self [private] |
Definition at line 88 of file ArrayAllocator.h.
Set the type of deallocator to use.
Definition at line 101 of file ArrayAllocator.h.
{ DeallocatorNull = 0, DeallocatorUnsorted = 1, DeallocatorSorted = 2 };
PLearn::ArrayAllocatorOptions::ArrayAllocatorOptions | ( | ) | [inline] |
Default values.
Definition at line 92 of file ArrayAllocator.h.
: numObjs(100,this), deallocatorType(DeallocatorUnsorted,this) { }
Definition at line 106 of file ArrayAllocator.h.
Set number of objects in the array.
Definition at line 98 of file ArrayAllocator.h.
Referenced by PLearn::ArrayAllocator< T, SizeBits >::ArrayAllocator().