a chunk of memory in a pool for quick allocation of RooLinkedListElems
Definition at line 53 of file RooLinkedList.cxx.
Public Member Functions | |
| Chunk (Int_t sz) | |
| constructor | |
| ~Chunk () | |
| destructor | |
| Int_t | capacity () const |
| chunk capacity | |
| const void * | chunkaddr () const |
| return address of chunk | |
| bool | contains (RooLinkedListElem *el) const |
| check if el is in this chunk | |
| bool | empty () const |
| chunk empty? | |
| Int_t | free () const |
| chunk free elements | |
| bool | full () const |
| chunk full? | |
| RooLinkedListElem * | pop_free_elem () |
| pop a free element off the free list | |
| void | push_free_elem (RooLinkedListElem *el) |
| push a free element back onto the freelist | |
| Int_t | size () const |
| chunk occupied elements | |
| int | szclass () const |
| return size class | |
Private Member Functions | |
| Chunk (const Chunk &) | |
| forbid copying | |
| Chunk & | operator= (const Chunk &) |
Private Attributes | |
| RooLinkedListElem * | _chunk |
| chunk from which elements come | |
| Int_t | _free |
| length of free list | |
| RooLinkedListElem * | _freelist |
| list of free elements | |
| Int_t | _sz |
| chunk capacity | |
|
inline |
constructor
Definition at line 56 of file RooLinkedList.cxx.
|
inline |
destructor
Definition at line 66 of file RooLinkedList.cxx.
|
private |
forbid copying
|
inline |
chunk capacity
Definition at line 68 of file RooLinkedList.cxx.
|
inline |
return address of chunk
Definition at line 81 of file RooLinkedList.cxx.
|
inline |
check if el is in this chunk
Definition at line 83 of file RooLinkedList.cxx.
|
inline |
chunk empty?
Definition at line 79 of file RooLinkedList.cxx.
|
inline |
chunk free elements
Definition at line 71 of file RooLinkedList.cxx.
|
inline |
chunk full?
Definition at line 77 of file RooLinkedList.cxx.
|
inline |
pop a free element off the free list
Definition at line 86 of file RooLinkedList.cxx.
|
inline |
push a free element back onto the freelist
Definition at line 97 of file RooLinkedList.cxx.
|
inline |
chunk occupied elements
Definition at line 73 of file RooLinkedList.cxx.
|
inline |
return size class
Definition at line 75 of file RooLinkedList.cxx.
|
private |
chunk from which elements come
Definition at line 106 of file RooLinkedList.cxx.
|
private |
length of free list
Definition at line 105 of file RooLinkedList.cxx.
|
private |
list of free elements
Definition at line 107 of file RooLinkedList.cxx.
|
private |
chunk capacity
Definition at line 104 of file RooLinkedList.cxx.