a chunk of memory in a pool for quick allocation of RooLinkedListElems
Definition at line 52 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 55 of file RooLinkedList.cxx.
      
  | 
  inline | 
destructor
Definition at line 65 of file RooLinkedList.cxx.
      
  | 
  private | 
forbid copying
      
  | 
  inline | 
chunk capacity
Definition at line 67 of file RooLinkedList.cxx.
      
  | 
  inline | 
return address of chunk
Definition at line 80 of file RooLinkedList.cxx.
      
  | 
  inline | 
check if el is in this chunk
Definition at line 82 of file RooLinkedList.cxx.
      
  | 
  inline | 
chunk empty?
Definition at line 78 of file RooLinkedList.cxx.
      
  | 
  inline | 
chunk free elements
Definition at line 70 of file RooLinkedList.cxx.
      
  | 
  inline | 
chunk full?
Definition at line 76 of file RooLinkedList.cxx.
      
  | 
  inline | 
pop a free element off the free list
Definition at line 85 of file RooLinkedList.cxx.
      
  | 
  inline | 
push a free element back onto the freelist
Definition at line 96 of file RooLinkedList.cxx.
      
  | 
  inline | 
chunk occupied elements
Definition at line 72 of file RooLinkedList.cxx.
      
  | 
  inline | 
return size class
Definition at line 74 of file RooLinkedList.cxx.
      
  | 
  private | 
chunk from which elements come
Definition at line 105 of file RooLinkedList.cxx.
      
  | 
  private | 
length of free list
Definition at line 104 of file RooLinkedList.cxx.
      
  | 
  private | 
list of free elements
Definition at line 106 of file RooLinkedList.cxx.
      
  | 
  private | 
chunk capacity
Definition at line 103 of file RooLinkedList.cxx.