11#ifndef ROOT_ProcFileElements
12#define ROOT_ProcFileElements
18class ProcFileElements :
public TObject {
21 class ProcFileElement :
public TObject {
26 fFirst(fst), fLast(lst) { }
27 ~ProcFileElement()
override { }
31 Bool_t IsSortable()
const override {
return kTRUE; }
32 Int_t MergeElement(ProcFileElement *);
34 Int_t Overlapping(ProcFileElement *);
48 ProcFileElements(
const char *fn =
"") : fName(fn), fElements(nullptr),
50 ~ProcFileElements()
override {
if (fElements) { fElements->
SetOwner();
52 const char *
GetName()
const override {
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 ClassDefOverride(name, id)
Int_t Compare(const void *item1, const void *item2)
void Print(GNN_Data &d, std::string txt="")
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.
TMatrixT< Element > & Add(TMatrixT< Element > &target, Element scalar, const TMatrixT< Element > &source)
Modify addition: target += scalar * source.