StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
St_smdStatusC.h
1 #ifndef St_smdStatusC_h
2 #define St_smdStatusC_h
3 
4 #include "TChair.h"
5 #include "tables/St_smdStatus_Table.h"
6 
7 class St_smdStatusC : public TChair {
8  public:
9  smdStatus_st *Struct(Int_t i = 0) const {return ((St_smdStatus*) Table())->GetTable()+i;}
10  UInt_t getNumRows() const {return GetNRows();}
11  UChar_t* Status(Int_t i = 0) const {return Struct(i)->Status;}
12  protected:
13  St_smdStatusC(St_smdStatus *table=0) : TChair(table) {}
14  virtual ~St_smdStatusC() {}
15  private:
16  ClassDefChair(St_smdStatus, smdStatus_st )
17  ClassDef(St_smdStatusC,1) //C++ TChair for smdStatus table class
18 };
20  public:
21  static St_bsmdeStatusC* instance();
22  protected:
23  St_bsmdeStatusC(St_smdStatus *table=0) : St_smdStatusC(table) {}
24  virtual ~St_bsmdeStatusC() {fgInstance = 0;}
25  private:
26  static St_bsmdeStatusC* fgInstance;
27  ClassDef(St_bsmdeStatusC,1) //C++ TChair for bsmdeStatus table class
28 };
30  public:
31  static St_bsmdpStatusC* instance();
32  protected:
33  St_bsmdpStatusC(St_smdStatus *table=0) : St_smdStatusC(table) {}
34  virtual ~St_bsmdpStatusC() {fgInstance = 0;}
35  private:
36  static St_bsmdpStatusC* fgInstance;
37  ClassDef(St_bsmdpStatusC,1) //C++ TChair for bsmdpStatus table class
38 };
39 #endif
Definition: TChair.h:27