StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
St_FilePathC.h
1 #ifndef St_FilePathC_h
2 #define St_FilePathC_h
3 
4 #include "TChair.h"
5 #include "tables/St_FilePath_Table.h"
6 #include "TString.h"
7 #include "TSystem.h"
8 class St_FilePathC : public TChair {
9  public:
10  FilePath_st *Struct(Int_t i = 0) const {return ((St_FilePath*) Table())->GetTable()+i;}
11  UInt_t getNumRows() const {return GetNRows();}
12  Char_t* file(Int_t i = 0) const {return Struct(i)->file;}
13  const Char_t* GetPath(const Char_t *prepend = "$STAR/StarDb/Calibrations/tpc/");
14  protected:
15  St_FilePathC(St_FilePath *table=0) : TChair(table) {}
16  virtual ~St_FilePathC() {}
17  private:
18  ClassDefChair(St_FilePath, FilePath_st )
19  ClassDef(St_FilePathC,1) //C++ TChair for FilePath table class
20 };
21 #endif
Definition: TChair.h:27