11 #ifndef ROOT_ProcFileElements
12 #define ROOT_ProcFileElements
18 #ifndef ROOT_TSortedList
22 class ProcFileElements :
public TObject {
25 class ProcFileElement :
public TObject {
30 fFirst(fst), fLast(lst) { }
31 virtual ~ProcFileElement() { }
36 Int_t MergeElement(ProcFileElement *);
38 Int_t Overlapping(ProcFileElement *);
52 ProcFileElements(
const char *fn =
"") : fName(fn), fElements(0),
54 virtual ~ProcFileElements() {
if (fElements) { fElements->SetOwner();
56 const char *
GetName()
const {
return fName; }
62 TSortedList *GetListOfElements()
const {
return fElements; }
63 Int_t GetNumElements()
const {
return (fElements ? fElements->GetSize() : 0); }
66 Long64_t GetLast()
const {
return fLast; }
TMatrixT< Element > & Add(TMatrixT< Element > &target, Element scalar, const TMatrixT< Element > &source)
Modify addition: target += scalar * source.
virtual ULong_t Hash() const
Return hash value for this object.
#define ClassDef(name, id)
A sorted doubly linked list.
virtual void Print(Option_t *option="") const
This method must be overridden when a class wants to print itself.
Collection abstract base class.
void Print(std::ostream &os, const OptionType &opt)
virtual const char * GetName() const
Returns name of object.
Mother of all ROOT objects.
Int_t Compare(const void *item1, const void *item2)