2#ifndef RDBMODEL_TABLE_H
3#define RDBMODEL_TABLE_H
26 return (a->
getName().compare(
b->getName()) < 0);
40 const std::string&
getName()
const {
return m_name;}
99 std::vector<Column* > m_cols;
100 std::vector<Column* > m_sortedCols;
101 std::vector<Assertion* > m_asserts;
102 std::vector<Index* > m_indices;
105 std::vector<Column* > m_programCols;
108 std::vector<Column* > m_userCols;
111 std::vector<Column*> m_mayDefault;
114 std::string m_version;
115 std::string m_comment;
117 std::string m_primaryKeyCol;
131 void addColumn(
Column* c);
134 void addAssert(
Assertion* a) {m_asserts.push_back(a);}
136 void addIndex(Index* i) {m_indices.push_back(i); }
139 bool doInterUpdate(
const std::vector<Set>& sets, Assertion* subsAssert,
147 bool fillProgramCols(Row& row,
bool newRow)
const;
150 void fillDefaults(Row& row)
const;
153 bool isSupersedable(std::string oldKeyStr)
const;
156 const std::string& setPrimaryKeyCol();
*******DOUBLE PRECISION m_EGridB INTEGER m_out
**********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
Function object used to sort columns by column name.
bool operator()(const Column *a, const Column *b)
const std::string & getName() const
Visitor::VisitorState accept(Visitor *v)
int insertRow(Row &row, int *serial=0) const
Index * getIndexByName(const std::string &name) const
const std::string & getName() const
InsertNew * getInsertNew() const
int insertLatest(Row &row, int *serial=0) const
int supersedeRow(Row &row, int oldKey, int *newKey=0) const
Assertion * getAssertionByName(const std::string &name) const
int updateRows(Row &row, Assertion *where) const
Column * getColumnByName(const std::string &name) const
Supersede * getSupersede() const
void setConnection(Connection *connect)