BOSS 7.0.6
BESIII Offline Software System
Loading...
Searching...
No Matches
rdbModel::Set Class Reference

#include <Set.h>

Public Member Functions

 Set (Table *table, const std::string &destColName, FIELDTYPE destType, const std::string &srcValue, FIELDTYPE srcType, const std::string &interp=std::string(""))
 
 ~Set ()
 
Visitor::VisitorState accept (Visitor *v)
 
const std::string & getDestColName () const
 
FIELDTYPE getDestType () const
 
const std::string & getSrcValue () const
 
FIELDTYPE getSrcType () const
 
const std::string & getInterp () const
 
bool hasInterp () const
 

Detailed Description

Describe update to be made to a single column. Must be to an existing row. Value can be any of the three possible FIELDTYPEs.

 @destColName     column to get updated
 @destType        defines whether dest row is existing or proposed
 @to              string for value to go into dest column
 @toType          may be literal, old column or proposed column

Definition at line 21 of file Set.h.

Constructor & Destructor Documentation

◆ Set()

rdbModel::Set::Set ( Table table,
const std::string &  destColName,
FIELDTYPE  destType,
const std::string &  srcValue,
FIELDTYPE  srcType,
const std::string &  interp = std::string("") 
)
inline

Definition at line 23 of file Set.h.

26 :
27 m_myTable(table), m_destCol(destColName), m_destType(destType),
28 m_srcValue(srcValue), m_srcType(srcType), m_interp(interp) {}

◆ ~Set()

rdbModel::Set::~Set ( )
inline

Normally, operator associated with the assertion will be deleted when the assertion itself is deleted, but this won't happen if keepOp is set to true.

Definition at line 35 of file Set.h.

35{}

Member Function Documentation

◆ accept()

Visitor::VisitorState rdbModel::Set::accept ( Visitor v)

Definition at line 9 of file Set.cxx.

9 {
10 Visitor::VisitorState state = v->visitSet(this);
11 if (state == Visitor::VBRANCHDONE) return Visitor::VCONTINUE;
12 return state;
13 }
**********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

◆ getDestColName()

const std::string & rdbModel::Set::getDestColName ( ) const
inline

Definition at line 38 of file Set.h.

38{return m_destCol;}

◆ getDestType()

FIELDTYPE rdbModel::Set::getDestType ( ) const
inline

Definition at line 39 of file Set.h.

39{return m_destType;}

◆ getInterp()

const std::string & rdbModel::Set::getInterp ( ) const
inline

Definition at line 43 of file Set.h.

43{return m_interp;}

◆ getSrcType()

FIELDTYPE rdbModel::Set::getSrcType ( ) const
inline

Definition at line 42 of file Set.h.

42{return m_srcType;}

◆ getSrcValue()

const std::string & rdbModel::Set::getSrcValue ( ) const
inline

Definition at line 41 of file Set.h.

41{return m_srcValue;}

◆ hasInterp()

bool rdbModel::Set::hasInterp ( ) const
inline

Definition at line 45 of file Set.h.

45{return (m_interp.size() > 0);}

The documentation for this class was generated from the following files: