BOSS 7.0.8
BESIII Offline Software System
Loading...
Searching...
No Matches
Index.h
Go to the documentation of this file.
1// $Header: /bes/bes/BossCvs/Calibration/rdbModel/rdbModel/Tables/Index.h,v 1.1.1.1 2005/10/17 06:10:53 maqm Exp $
2#ifndef RDBMODEL_INDEX_H
3#define RDBMODEL_INDEX_H
4#include <vector>
5#include <string>
7
8namespace rdbModel {
9
10 class Column;
11 class Table;
12
13 class XercesBuilder;
14
15
16 /**
17 * rdbModel representation of a(n SQL-like) key (aka index) description
18 */
19 class Index {
20 public:
21 Index(Table* myTable=0) : m_myTable(myTable) {};
22 ~Index() {};
23
24 const std::string& getName() const {return m_name; };
25 bool isPrimary() const {return m_primary;}
26 const std::vector<std::string>& getColumnNames();
27
29 // Visitor::VisitorState acceptNotRec(Visitor* v);
30
31 private:
33
34 /// Is it a primary key?
35 bool m_primary;
36
37 /// Names of columns it's indexing
38 std::vector<std::string> m_indexCols;
39
40 /// Point back to owning table
41 Table* m_myTable;
42 std::string m_name;
43 };
44}
45
46#endif
**********Class see also m_nmax DOUBLE PRECISION m_amel DOUBLE PRECISION m_x2 DOUBLE PRECISION m_alfinv DOUBLE PRECISION m_Xenph INTEGER m_KeyWtm INTEGER m_idyfs DOUBLE PRECISION m_zini DOUBLE PRECISION m_q2 DOUBLE PRECISION m_Wt_KF DOUBLE PRECISION m_WtCut INTEGER m_KFfin *COMMON c_KarLud $ !Input CMS energy[GeV] $ !CMS energy after beam spread beam strahlung[GeV] $ !Beam energy spread[GeV] $ !z boost due to beam spread $ !electron beam mass *ff pair spectrum $ !minimum v
Definition: KarLud.h:35
const std::string & getName() const
Definition: Index.h:24
bool isPrimary() const
Definition: Index.h:25
Index(Table *myTable=0)
Definition: Index.h:21
const std::vector< std::string > & getColumnNames()
Definition: Index.cxx:13
Visitor::VisitorState accept(Visitor *v)
Definition: Index.cxx:7