26 (m_from ==
FROMnow))
return false;
45 if (interpType.compare(std::string(
"time")) != 0)
return false;
52 if (val.compare(std::string(
"NOW")) != 0)
return false;
69 std::sort(m_fields.begin(), m_fields.end(), cmp);
74 unsigned nField = m_fields.size();
76 unsigned maxI = nField;
78 unsigned guess = maxI/2;
79 unsigned oldGuess = nField;
81 int cmp = colname.compare(m_fields[guess].m_colname);
84 if (guess == oldGuess)
return 0;
92 guess = (minI + maxI)/2;
93 cmp = colname.compare(m_fields[guess].m_colname);
95 return &m_fields[guess];
99 std::vector<std::string>& colVals,
100 std::vector<std::string>& nullCols)
const {
101 unsigned nFields = m_fields.size();
102 colNames.reserve(nFields);
103 colVals.reserve(nFields);
105 for (
unsigned i = 0; i < nFields; i++) {
106 if (m_fields[i].m_null) {
107 nullCols.push_back(m_fields[i].m_colname);
110 colNames.push_back(m_fields[i].m_colname);
111 colVals.push_back(m_fields[i].m_val);
**********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
std::string getString() const
Return string representation of time, not including nanoseconds;.
bool isAutoIncrement() const
const std::string & getTableName() const
Visitor::VisitorState accept(Visitor *v)
bool isCompatible(const Column *otherCol) const
Return true if otherCol and this have compatible datatypes.
bool interpret(const std::string &interpType, std::string &val)
bool okValue(const std::string &val, bool set=true) const
bool okValue(const std::string &val) const
bool isCompatible(const Datatype *other) const
Function object used to sort FieldValPar objects by column name.
FieldVal * find(std::string colname)
void regroup(std::vector< std::string > &colNames, std::vector< std::string > &colVals, std::vector< std::string > &nullCols) const
Reorder information suitable for Connection::insert.
const std::string & getName() const