BOSS 7.0.5
BESIII Offline Software System
Loading...
Searching...
No Matches
rdbModel::InsertNew Class Reference

#include <InsertNew.h>

Public Member Functions

 InsertNew (Table *table, Assertion *internal, Assertion *official)
 
 ~InsertNew ()
 
const AssertiongetInternal () const
 
const AssertiongetOfficial () const
 
const std::vector< InterRow * > & getInterRow () const
 
const TablegetTable () const
 
Visitor::VisitorState accept (Visitor *v)
 
void addInterRow (InterRow *interRow)
 
 InsertNew (Table *table, Assertion *internal, Assertion *official)
 
 ~InsertNew ()
 
const AssertiongetInternal () const
 
const AssertiongetOfficial () const
 
const std::vector< InterRow * > & getInterRow () const
 
const TablegetTable () const
 
Visitor::VisitorState accept (Visitor *v)
 
void addInterRow (InterRow *interRow)
 

Detailed Description

Keep track of constraints on insertion of new row, not intended to replace any existing row. o Internal constraints to insure new row is self-consistent o Look for conflicts with existing rows; specify what to do to correct if found.

Definition at line 21 of file Calibration/rdbModel/rdbModel-00-01-01/rdbModel/Tables/InsertNew.h.

Constructor & Destructor Documentation

◆ InsertNew() [1/2]

rdbModel::InsertNew::InsertNew ( Table table,
Assertion internal,
Assertion official 
)
inline

Definition at line 23 of file Calibration/rdbModel/rdbModel-00-01-01/rdbModel/Tables/InsertNew.h.

24 : m_myTable(table), m_internal(internal), m_official(official) {
25 m_interRow.clear();
26 }

◆ ~InsertNew() [1/2]

rdbModel::InsertNew::~InsertNew ( )

Definition at line 10 of file InsertNew.cxx.

10 {
11 while (m_interRow.size() ) {
12 InterRow* i = m_interRow.back();
13 m_interRow.pop_back();
14 delete i;
15 }
16 }

◆ InsertNew() [2/2]

rdbModel::InsertNew::InsertNew ( Table table,
Assertion internal,
Assertion official 
)
inline

Definition at line 23 of file InstallArea/include/rdbModel/rdbModel/Tables/InsertNew.h.

24 : m_myTable(table), m_internal(internal), m_official(official) {
25 m_interRow.clear();
26 }

◆ ~InsertNew() [2/2]

rdbModel::InsertNew::~InsertNew ( )

Member Function Documentation

◆ accept() [1/2]

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

Definition at line 18 of file InsertNew.cxx.

18 {
19 Visitor::VisitorState state = v->visitInsertNew(this);
20 if (state == Visitor::VBRANCHDONE) return Visitor::VCONTINUE;
21
22 unsigned n = m_interRow.size();
23 for (unsigned i = 0; i < n; i++) {
24 state = m_interRow[i]->accept(v);
25 if (state != Visitor::VCONTINUE) return state;
26 }
27 return state;
28 }
const Int_t n
**********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/2]

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

◆ addInterRow() [1/2]

void rdbModel::InsertNew::addInterRow ( InterRow interRow)
inline

Definition at line 39 of file Calibration/rdbModel/rdbModel-00-01-01/rdbModel/Tables/InsertNew.h.

39{m_interRow.push_back(interRow);}

◆ addInterRow() [2/2]

void rdbModel::InsertNew::addInterRow ( InterRow interRow)
inline

Definition at line 39 of file InstallArea/include/rdbModel/rdbModel/Tables/InsertNew.h.

39{m_interRow.push_back(interRow);}

◆ getInternal() [1/2]

const Assertion * rdbModel::InsertNew::getInternal ( ) const
inline

Definition at line 30 of file Calibration/rdbModel/rdbModel-00-01-01/rdbModel/Tables/InsertNew.h.

30{return m_internal;}

Referenced by rdbModel::Table::insertLatest().

◆ getInternal() [2/2]

const Assertion * rdbModel::InsertNew::getInternal ( ) const
inline

Definition at line 30 of file InstallArea/include/rdbModel/rdbModel/Tables/InsertNew.h.

30{return m_internal;}

◆ getInterRow() [1/2]

const std::vector< InterRow * > & rdbModel::InsertNew::getInterRow ( ) const
inline

Definition at line 32 of file Calibration/rdbModel/rdbModel-00-01-01/rdbModel/Tables/InsertNew.h.

32{return m_interRow;}

Referenced by rdbModel::Table::insertLatest().

◆ getInterRow() [2/2]

const std::vector< InterRow * > & rdbModel::InsertNew::getInterRow ( ) const
inline

Definition at line 32 of file InstallArea/include/rdbModel/rdbModel/Tables/InsertNew.h.

32{return m_interRow;}

◆ getOfficial() [1/2]

const Assertion * rdbModel::InsertNew::getOfficial ( ) const
inline

Definition at line 31 of file Calibration/rdbModel/rdbModel-00-01-01/rdbModel/Tables/InsertNew.h.

31{return m_official;}

Referenced by rdbModel::Table::insertLatest().

◆ getOfficial() [2/2]

const Assertion * rdbModel::InsertNew::getOfficial ( ) const
inline

Definition at line 31 of file InstallArea/include/rdbModel/rdbModel/Tables/InsertNew.h.

31{return m_official;}

◆ getTable() [1/2]

const Table * rdbModel::InsertNew::getTable ( ) const
inline

Definition at line 34 of file Calibration/rdbModel/rdbModel-00-01-01/rdbModel/Tables/InsertNew.h.

34{return m_myTable;}

◆ getTable() [2/2]

const Table * rdbModel::InsertNew::getTable ( ) const
inline

Definition at line 34 of file InstallArea/include/rdbModel/rdbModel/Tables/InsertNew.h.

34{return m_myTable;}

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