1 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
2 * See cxx source for full Copyright notice */
7 /// \class AliMUONV1DStore
8 /// \brief Generic container indexed by a single integer.
10 // Author Laurent Aphecetche
12 #ifndef AliMUONV1DSTORE_H
13 #define AliMUONV1DSTORE_H
19 class AliMUONVDataIterator;
21 class AliMUONV1DStore : public TObject
25 virtual ~AliMUONV1DStore();
27 /// Return the object stored at i.
28 virtual TObject* Get(Int_t i) const = 0;
31 virtual AliMUONVDataIterator* Iterator() const { return 0x0; }
33 /** Set the object stored at i.
34 if replace=false and there's already an object there, returns kFALSE
36 virtual Bool_t Set(Int_t i, TObject*, Bool_t replace) = 0;
38 /// Whether or not this container is the owner of its contents.
39 virtual Bool_t IsOwner() const = 0;
41 virtual void Print(Option_t* opt="") const;
45 ClassDef(AliMUONV1DStore,0) // Generic container indexed by a single integer