11#ifndef ROOT_ProcFileElements
12#define ROOT_ProcFileElements
18class ProcFileElements :
public TObject {
21 class ProcFileElement :
public TObject {
26 fFirst(fst), fLast(lst) { }
27 virtual ~ProcFileElement() { }
32 Int_t MergeElement(ProcFileElement *);
34 Int_t Overlapping(ProcFileElement *);
48 ProcFileElements(
const char *fn =
"") : fName(fn), fElements(0),
50 virtual ~ProcFileElements() {
if (fElements) { fElements->
SetOwner();
52 const char *
GetName()
const {
return fName; }
58 TSortedList *GetListOfElements()
const {
return fElements; }
59 Int_t GetNumElements()
const {
return (fElements ? fElements->
GetSize() : 0); }
62 Long64_t GetLast()
const {
return fLast; }
#define ClassDef(name, id)
Int_t Compare(const void *item1, const void *item2)
Collection abstract base class.
virtual void SetOwner(Bool_t enable=kTRUE)
Set whether this collection is the owner (enable==true) of its content.
virtual Int_t GetSize() const
Return the capacity of the collection, i.e.
Mother of all ROOT objects.
virtual const char * GetName() const
Returns name of object.
virtual void Print(Option_t *option="") const
This method must be overridden when a class wants to print itself.
virtual ULong_t Hash() const
Return hash value for this object.
A sorted doubly linked list.
UInt_t Hash(ECaseCompare cmp=kExact) const
Return hash value.
void Print(std::ostream &os, const OptionType &opt)
TMatrixT< Element > & Add(TMatrixT< Element > &target, Element scalar, const TMatrixT< Element > &source)
Modify addition: target += scalar * source.