1 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
2 * See cxx source for full Copyright notice */
7 /// \class AliMUONV2DStore
8 /// \brief Generic container indexed by a pair of integers.
10 // Author Laurent Aphecetche
12 #ifndef AliMUONV2DSTORE_H
13 #define AliMUONV2DSTORE_H
19 class AliMUONVDataIterator;
21 class AliMUONV2DStore : public TObject
25 virtual ~AliMUONV2DStore();
27 virtual AliMUONVDataIterator* Iterator() const { return 0x0; }
29 /// Return the object stored at (i,j).
30 virtual TObject* Get(Int_t i, Int_t j) const = 0;
32 /** Set the object stored at (i,j).
33 if replace=false and there's already an object there, returns kFALSE
35 virtual Bool_t Set(Int_t i, Int_t j, TObject*, Bool_t replace) = 0;
37 /// Whether or not this container is the owner of its contents.
38 virtual Bool_t IsOwner() const = 0;
41 ClassDef(AliMUONV2DStore,0) // Generic container indexed by a pair of integers