]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PHOS/AliDBPPRS.h
Fixing ompilation warnings
[u/mrichter/AliRoot.git] / PHOS / AliDBPPRS.h
1 #ifndef ALIDBPPRS_H
2 #define ALIDBPPRS_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice     */
5 /* $Id$ */
6 //_________________________________________________________________________
7 //  Class for the DB table PPRS
8 //
9 //*-- Author: Yves Schutz (SUBATECH)
10  
11 #include <assert.h> 
12 // --- ROOT system ---
13 class TDatime ; 
14  
15 // --- AliRoot header files ---
16  
17 class AliDBPPRS : public TObject {
18  
19  public:
20   AliDBPPRS() ;
21   AliDBPPRS(const AliDBPPRS & obj) {assert(0==1);}
22   ~AliDBPPRS() ;
23   const char * GetField(Int_t index) const { return fFields[index].Data() ; } 
24   const TString * GetFields() const { return fFields ; } 
25   const Int_t GetNfields() const { return fNfields ; } 
26   void GetEntry(Option_t * opt ="next") ;  
27   const Int_t GetRUN() const {return fRUN ;}  
28   const Int_t GetEVENT() const {return fEVENT ;}  
29   const TString GetWORKER() const {return fWORKER ;}  
30   const TString GetSTATUS() const {return fSTATUS ;}  
31   const TDatime GetDATE() const {return fDATE ;}  
32   const TString GetSTORAGE() const {return fSTORAGE ;}  
33   const TString GetID() const {return fID ;}  
34   const Int_t GetPOS() const {return fPOS ;}  
35   const Int_t GetSIZE() const {return fSIZE ;}  
36   const TString GetFTP() const {return fFTP ;}  
37   const TString GetLOG() const {return fLOG ;}  
38   const TString GetCOMMENT() const {return fCOMMENT ;}  
39  
40  private:
41   Int_t fCurrentEntry ; // Current entry to be retrieved from table
42   Int_t fNfields ; // number of fields in the table 
43   TString * fFields ; //[fNfields] list of fields in the table 
44   Int_t fRUN ; // RUN 
45   Int_t fEVENT ; // EVENT 
46   TString fWORKER ; // WORKER 
47   TString fSTATUS ; // STATUS 
48   TDatime fDATE ; // DATE 
49   TString fSTORAGE ; // STORAGE 
50   TString fID ; // ID 
51   Int_t fPOS ; // POS 
52   Int_t fSIZE ; // SIZE 
53   TString fFTP ; // FTP 
54   TString fLOG ; // LOG 
55   TString fCOMMENT ; // COMMENT 
56  
57 ClassDef(AliDBPPRS,1) // DB class for table PPRS 
58 } ;
59 #endif