1 /**************************************************************************
2 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
7 * Permission to use, copy, modify and distribute this software and its *
8 * documentation strictly for non-commercial purposes is hereby granted *
9 * without fee, provided that the above copyright notice appears in all *
10 * copies and that both the copyright notice and this permission notice *
11 * appear in the supporting documentation. The authors make no claims *
12 * about the suitability of this software for any purpose. It is *
13 * provided "as is" without express or implied warranty. *
14 **************************************************************************/
16 /////////////////////////////////////////////////////////////////////
18 // class AliCDBEntry //
19 // container for an object, it identity (AliCDBId) //
20 // and its metaData (AliCDBMetaData) //
22 /////////////////////////////////////////////////////////////////////
24 #include "AliCDBEntry.h"
28 //_____________________________________________________________________________
29 AliCDBEntry::AliCDBEntry():
33 // default constructor
37 //_____________________________________________________________________________
38 AliCDBEntry::AliCDBEntry(TObject* object, const AliCDBId& id,
39 AliCDBMetaData* metaData, Bool_t owner):
48 //_____________________________________________________________________________
49 AliCDBEntry::AliCDBEntry(TObject* object, const AliCDBPath& path,
50 const AliCDBRunRange& runRange,
51 AliCDBMetaData* metaData,Bool_t owner):
53 fId(path, runRange, -1, -1),
60 //_____________________________________________________________________________
61 AliCDBEntry::AliCDBEntry(TObject* object, const AliCDBPath& path,
62 const AliCDBRunRange& runRange,
63 Int_t version, AliCDBMetaData* metaData, Bool_t owner):
65 fId(path, runRange, version, -1),
72 //_____________________________________________________________________________
73 AliCDBEntry::AliCDBEntry(TObject* object, const AliCDBPath& path,
74 const AliCDBRunRange& runRange,
75 Int_t version, Int_t subVersion,
76 AliCDBMetaData* metaData, Bool_t owner):
78 fId(path, runRange, version, subVersion),
86 //_____________________________________________________________________________
87 AliCDBEntry::AliCDBEntry(TObject* object, const AliCDBPath& path,
88 Int_t firstRun, Int_t lastRun,
89 AliCDBMetaData* metaData, Bool_t owner):
91 fId(path, firstRun, lastRun, -1, -1),
98 //_____________________________________________________________________________
99 AliCDBEntry::AliCDBEntry(TObject* object, const AliCDBPath& path,
100 Int_t firstRun, Int_t lastRun,
101 Int_t version, AliCDBMetaData* metaData,
104 fId(path, firstRun, lastRun, version, -1),
111 //_____________________________________________________________________________
112 AliCDBEntry::AliCDBEntry( TObject* object, const AliCDBPath& path,
113 Int_t firstRun, Int_t lastRun,
114 Int_t version, Int_t subVersion,
115 AliCDBMetaData* metaData, Bool_t owner):
117 fId(path, firstRun, lastRun, version, subVersion),
118 fMetaData(metaData), fIsOwner(owner){
123 //_____________________________________________________________________________
124 AliCDBEntry::~AliCDBEntry() {