26 |
|
virtual const ArrayElement *At(UInt_t idx) const = 0; |
27 |
|
virtual UInt_t GetEntries() const = 0; |
28 |
|
virtual UInt_t GetSize() const = 0; |
29 |
+ |
virtual Bool_t HasObject(const ArrayElement *obj) const = 0; |
30 |
|
virtual Bool_t IsOwner() const = 0; |
31 |
|
void Print(Option_t *opt="") const; |
32 |
|
virtual void Reset() = 0; |
42 |
|
|
43 |
|
//-------------------------------------------------------------------------------------------------- |
44 |
|
template<class ArrayElement> |
45 |
< |
void mithep::Collection<ArrayElement>::Print(Option_t *opt) const |
45 |
> |
void mithep::Collection<ArrayElement>::Print(Option_t */*opt*/) const |
46 |
|
{ |
47 |
|
printf("%s: Contains %d (out of %d) objs\n", |
48 |
|
GetName(), GetEntries(), GetSize()); |