#include <ArrayAllocatorIndex.h>
Inheritance diagram for PLearn::ArrayAllocatorIndex< IndexBase, SizeBits >:
Public Types | |
typedef IndexBase | index_base |
typedef ArrayAllocatorIndex< IndexBase, SizeBits > | index_type |
Public Member Functions | |
ArrayAllocatorIndex (unsigned the_index, unsigned the_size=0) | |
bool | operator== (index_type other) const |
bool | operator!= (index_type other) const |
bool | isNull () const |
void | swap (index_type &other) |
Public Attributes | |
unsigned | index: 8*sizeof(IndexBase) - SizeBits |
assume that a char contains 8 bits | |
unsigned | size: SizeBits |
Definition at line 52 of file ArrayAllocatorIndex.h.
|
Definition at line 54 of file ArrayAllocatorIndex.h. |
|
Definition at line 55 of file ArrayAllocatorIndex.h. |
|
Definition at line 61 of file ArrayAllocatorIndex.h. |
|
Definition at line 70 of file ArrayAllocatorIndex.h. Referenced by PLearn::ArrayAllocator< T, SizeBits >::allocate(), PLearn::ArrayAllocator< T, SizeBits >::deallocate(), and PLearn::ArrayAllocator< T, SizeBits >::toPointer(). |
|
< don't consider block size Definition at line 67 of file ArrayAllocatorIndex.h. |
|
< don't consider block size Definition at line 64 of file ArrayAllocatorIndex.h. |
|
Definition at line 73 of file ArrayAllocatorIndex.h. |
|
assume that a char contains 8 bits
Definition at line 58 of file ArrayAllocatorIndex.h. Referenced by PLearn::ArrayAllocator< T, SizeBits >::allocate(), PLearn::ArrayAllocator< T, SizeBits >::deallocate(), PLearn::ArrayAllocator< T, SizeBits >::derefIndex(), PLearn::ArrayAllocator< T, SizeBits >::resize(), and PLearn::ArrayAllocator< T, SizeBits >::toPointer(). |
|
Definition at line 59 of file ArrayAllocatorIndex.h. Referenced by PLearn::ArrayAllocator< T, SizeBits >::allocate(), PLearn::ArrayAllocator< T, SizeBits >::deallocate(), and PLearn::ArrayAllocator< T, SizeBits >::resize(). |