16 #ifndef ROO_LINKED_LIST 17 #define ROO_LINKED_LIST 52 return _htableName ? _htableName->size() : 0 ;
55 void setHashTableSize(
Int_t size) ;
74 TObject* FindObject(
const char* name)
const ;
76 Int_t IndexOf(
const char* name)
const ;
79 return _first?_first->_arg:0 ;
82 virtual void RecursiveRemove(
TObject *obj);
84 void Print(
const char* opt)
const ;
89 const char*
GetName()
const {
return _name.Data() ; }
122 template <
bool ascending>
126 typedef RooLinkedListImplDetails::Pool
Pool;
const char * GetName() const
Returns name of object.
RooHashTable * _htableLink
Hash table by name.
ULong_t Hash() const
Return hash value for this object.
virtual TObject * Clone(const char *=0) const
Make a clone of an object using the Streamer facility.
Int_t getHashTableSize() const
RooLinkedListImplDetails::Pool Pool
memory pool for quick allocation of RooLinkedListElems
void SetName(const char *name)
Iterator abstract base class.
#define ClassDef(name, id)
RooLinkedListElem * _first
TString _name
Hash table by link pointer.
void Sort(Index n, const Element *a, Index *index, Bool_t down=kTRUE)
RooHashTable implements a hash table for TObjects.
void useNptr(Bool_t flag)
virtual void Add(TObject *arg)
RooLinkedList is an collection class for internal use, storing a collection of RooAbsArg pointers in ...
void Add(THist< DIMENSIONS, PRECISION_TO, STAT_TO... > &to, const THist< DIMENSIONS, PRECISION_FROM, STAT_FROM... > &from)
Add two histograms.
void Print(std::ostream &os, const OptionType &opt)
Binding & operator=(OUT(*fun)(void))
Mother of all ROOT objects.
RooLinkedListElem * _last
Link to first element of list.
static Pool * _pool
shared memory pool for allocation of RooLinkedListElems
RooLinkedListElem is an link element for the RooLinkedList class.
RooAbsArg is the common abstract base class for objects that represent a value (of arbitrary type) an...
RooLinkedListIter is the TIterator implementation for RooLinkedList.
RooHashTable * _htableName
Link to last element of list.