From 7d1604199df6c37661edea2bb11fec48e3742910 Mon Sep 17 00:00:00 2001 From: hristov Date: Tue, 11 Jul 2006 09:35:32 +0000 Subject: [PATCH] Data field, setter and getter for the storage URI (Alberto) --- STEER/AliCDBStorage.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/STEER/AliCDBStorage.h b/STEER/AliCDBStorage.h index a1ed4bffa57..b774a2a5aa1 100644 --- a/STEER/AliCDBStorage.h +++ b/STEER/AliCDBStorage.h @@ -24,6 +24,9 @@ class AliCDBStorage: public TObject { public: AliCDBStorage(); + void SetURI(const TString& uri) {fURI = uri;} + const TString& GetURI() const {return fURI;} + void ReadSelectionFromFile(const char *fileName); void AddSelection(const AliCDBId& selection); @@ -63,7 +66,7 @@ public: TList* GetAll(const AliCDBPath& path, Int_t runNumber, Int_t version = -1, Int_t subVersion = -1); TList* GetAll(const AliCDBPath& path, const AliCDBRunRange& runRange, - Int_t version = -1, Int_t subVersion = -1); + Int_t version = -1, Int_t subVersion = -1); Bool_t Put(TObject* object, AliCDBId& id, AliCDBMetaData* metaData); Bool_t Put(AliCDBEntry* entry); @@ -85,7 +88,8 @@ protected: private: - TList fSelections; // list of selection criteria + TList fSelections; // list of selection criteria + TString fURI; //! storage URI; ClassDef(AliCDBStorage, 0); }; -- 2.43.0