StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
St_emcStatusC.h
1 #ifndef St_emcStatusC_h
2 #define St_emcStatusC_h
3 
4 #include "TChair.h"
5 #include "tables/St_emcStatus_Table.h"
6 
7 class St_emcStatusC : public TChair {
8  public:
9  emcStatus_st *Struct(Int_t i = 0) const {return ((St_emcStatus*) 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_emcStatusC(St_emcStatus *table=0) : TChair(table) {}
14  private:
15  ClassDefChair(St_emcStatus, emcStatus_st )
16  ClassDef(St_emcStatusC,1) //C++ TChair for emcStatus table class
17 };
18 class St_bemcStatusC : public St_emcStatusC {
19  public:
20  static St_bemcStatusC* instance();
21  protected:
22  St_bemcStatusC(St_emcStatus *table=0) : St_emcStatusC(table) {}
23  virtual ~St_bemcStatusC() {fgInstance = 0;}
24  private:
25  static St_bemcStatusC* fgInstance;
26  ClassDef(St_bemcStatusC,1) //C++ TChair for bemcStatus table class
27 };
28 class St_bprsStatusC : public St_emcStatusC {
29  public:
30  static St_bprsStatusC* instance();
31  protected:
32  St_bprsStatusC(St_emcStatus *table=0) : St_emcStatusC(table) {}
33  virtual ~St_bprsStatusC() {fgInstance = 0;}
34  private:
35  static St_bprsStatusC* fgInstance;
36  ClassDef(St_bprsStatusC,1) //C++ TChair for bprsStatus table class
37 };
38 #endif
Definition: TChair.h:27