Class to hold information about the processed elements of a file.
#ifndef ROOT_ProcFileElements
#define ROOT_ProcFileElements
class ProcFileElements :
public TObject {
public:
class ProcFileElement :
public TObject {
public:
~ProcFileElement() override { }
Int_t MergeElement(ProcFileElement *);
Int_t Overlapping(ProcFileElement *);
};
private:
public:
ProcFileElements(const char *fn = "") : fName(fn), fElements(nullptr),
~ProcFileElements()
override {
if (fElements) { fElements->
SetOwner();
delete fElements; } }
const char *
GetName()
const override {
return fName; }
TSortedList *GetListOfElements()
const {
return fElements; }
Int_t GetNumElements()
const {
return (fElements ? fElements->
GetSize() : 0); }
Long64_t GetLast()
const {
return fLast; }
};
#endif
#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.