![]() |
ATLAS Offline Software
|
A single block in the list. More...
#include <pointer_list.h>
Public Types | |
typedef unsigned long | ulong |
typedef void * | value_type |
The element type we store. More... | |
Static Public Member Functions | |
static size_t | size (size_t nelt) |
Size in bytes of a block holding nelt elements (excluding the end-pointer). More... | |
Public Attributes | |
value_type | m_data [1] |
The elements. More... | |
A single block in the list.
It contains some number of pointers. The last element of the block contains a link to the next block. Blocks are aligned so that we can tell if we're looking at the last element from the low bits of an address.
Definition at line 65 of file pointer_list.h.
typedef unsigned long CxxUtils::pointer_list_base::list_block::ulong |
Definition at line 68 of file pointer_list.h.
typedef void* CxxUtils::pointer_list_base::list_block::value_type |
The element type we store.
Definition at line 71 of file pointer_list.h.
|
static |
Size in bytes of a block holding nelt
elements (excluding the end-pointer).
value_type CxxUtils::pointer_list_base::list_block::m_data[1] |
The elements.
This structure is variable-sized; it will be allocated for the correct number of elements.
Definition at line 75 of file pointer_list.h.