1 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
2 * See cxx source for full Copyright notice */
7 /// \class AliMUON1DStore
8 /// \brief Generic container indexed by a single integer.
10 /// \author Laurent Aphecetche
12 #ifndef AliMUONV1DSTORE_H
13 #define AliMUONV1DSTORE_H
19 class AliMUONV1DStore : public TObject
23 virtual ~AliMUONV1DStore();
25 /// Return the object stored at i.
26 virtual TObject* Get(Int_t i) const = 0;
28 /** Set the object stored at i.
29 if replace=false and there's already an object there, returns kFALSE
31 virtual Bool_t Set(Int_t i, TObject*, Bool_t replace) = 0;
33 /// Whether or not this container is the owner of its contents.
34 virtual Bool_t IsOwner() const = 0;
37 ClassDef(AliMUONV1DStore,0) // Generic container indexed by a single integer