BOSS 8.0.0
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
 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
 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 22 of file Calibration/rdbModel/include/rdbModel/Tables/Set.h.

Constructor & Destructor Documentation

◆ Set() [1/3]

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 24 of file Calibration/rdbModel/include/rdbModel/Tables/Set.h.

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

◆ ~Set() [1/3]

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 39 of file Calibration/rdbModel/include/rdbModel/Tables/Set.h.

39{}

◆ Set() [2/3]

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 24 of file InstallArea/x86_64-el9-gcc13-dbg/include/rdbModel/Tables/Set.h.

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

◆ ~Set() [2/3]

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 39 of file InstallArea/x86_64-el9-gcc13-dbg/include/rdbModel/Tables/Set.h.

39{}

◆ Set() [3/3]

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 24 of file InstallArea/x86_64-el9-gcc13-opt/include/rdbModel/Tables/Set.h.

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

◆ ~Set() [3/3]

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 39 of file InstallArea/x86_64-el9-gcc13-opt/include/rdbModel/Tables/Set.h.

39{}

Member Function Documentation

◆ accept() [1/3]

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

Definition at line 10 of file Set.cxx.

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

◆ accept() [2/3]

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

◆ accept() [3/3]

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

◆ getDestColName() [1/3]

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

Definition at line 42 of file Calibration/rdbModel/include/rdbModel/Tables/Set.h.

42{ return m_destCol; }

◆ getDestColName() [2/3]

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

Definition at line 42 of file InstallArea/x86_64-el9-gcc13-dbg/include/rdbModel/Tables/Set.h.

42{ return m_destCol; }

◆ getDestColName() [3/3]

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

Definition at line 42 of file InstallArea/x86_64-el9-gcc13-opt/include/rdbModel/Tables/Set.h.

42{ return m_destCol; }

◆ getDestType() [1/3]

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

Definition at line 43 of file Calibration/rdbModel/include/rdbModel/Tables/Set.h.

43{ return m_destType; }

◆ getDestType() [2/3]

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

Definition at line 43 of file InstallArea/x86_64-el9-gcc13-dbg/include/rdbModel/Tables/Set.h.

43{ return m_destType; }

◆ getDestType() [3/3]

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

Definition at line 43 of file InstallArea/x86_64-el9-gcc13-opt/include/rdbModel/Tables/Set.h.

43{ return m_destType; }

◆ getInterp() [1/3]

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

Definition at line 47 of file Calibration/rdbModel/include/rdbModel/Tables/Set.h.

47{ return m_interp; }

◆ getInterp() [2/3]

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

Definition at line 47 of file InstallArea/x86_64-el9-gcc13-dbg/include/rdbModel/Tables/Set.h.

47{ return m_interp; }

◆ getInterp() [3/3]

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

Definition at line 47 of file InstallArea/x86_64-el9-gcc13-opt/include/rdbModel/Tables/Set.h.

47{ return m_interp; }

◆ getSrcType() [1/3]

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

Definition at line 46 of file Calibration/rdbModel/include/rdbModel/Tables/Set.h.

46{ return m_srcType; }

◆ getSrcType() [2/3]

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

Definition at line 46 of file InstallArea/x86_64-el9-gcc13-dbg/include/rdbModel/Tables/Set.h.

46{ return m_srcType; }

◆ getSrcType() [3/3]

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

Definition at line 46 of file InstallArea/x86_64-el9-gcc13-opt/include/rdbModel/Tables/Set.h.

46{ return m_srcType; }

◆ getSrcValue() [1/3]

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

Definition at line 45 of file Calibration/rdbModel/include/rdbModel/Tables/Set.h.

45{ return m_srcValue; }

◆ getSrcValue() [2/3]

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

Definition at line 45 of file InstallArea/x86_64-el9-gcc13-dbg/include/rdbModel/Tables/Set.h.

45{ return m_srcValue; }

◆ getSrcValue() [3/3]

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

Definition at line 45 of file InstallArea/x86_64-el9-gcc13-opt/include/rdbModel/Tables/Set.h.

45{ return m_srcValue; }

◆ hasInterp() [1/3]

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

Definition at line 49 of file Calibration/rdbModel/include/rdbModel/Tables/Set.h.

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

◆ hasInterp() [2/3]

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

Definition at line 49 of file InstallArea/x86_64-el9-gcc13-dbg/include/rdbModel/Tables/Set.h.

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

◆ hasInterp() [3/3]

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

Definition at line 49 of file InstallArea/x86_64-el9-gcc13-opt/include/rdbModel/Tables/Set.h.

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

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