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

Constructor & Destructor Documentation

◆ InsertNew() [1/3]

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

Definition at line 24 of file Calibration/rdbModel/include/rdbModel/Tables/InsertNew.h.

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

◆ ~InsertNew() [1/3]

rdbModel::InsertNew::~InsertNew ( )

Definition at line 11 of file InsertNew.cxx.

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

◆ InsertNew() [2/3]

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

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

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

◆ ~InsertNew() [2/3]

rdbModel::InsertNew::~InsertNew ( )

◆ InsertNew() [3/3]

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

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

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

◆ ~InsertNew() [3/3]

rdbModel::InsertNew::~InsertNew ( )

Member Function Documentation

◆ accept() [1/3]

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

Definition at line 20 of file InsertNew.cxx.

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

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

◆ accept() [3/3]

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

◆ addInterRow() [1/3]

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

Definition at line 40 of file Calibration/rdbModel/include/rdbModel/Tables/InsertNew.h.

40{ m_interRow.push_back( interRow ); }

◆ addInterRow() [2/3]

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

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

40{ m_interRow.push_back( interRow ); }

◆ addInterRow() [3/3]

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

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

40{ m_interRow.push_back( interRow ); }

◆ getInternal() [1/3]

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

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

31{ return m_internal; }

◆ getInternal() [2/3]

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

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

31{ return m_internal; }

◆ getInternal() [3/3]

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

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

31{ return m_internal; }

◆ getInterRow() [1/3]

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

Definition at line 33 of file Calibration/rdbModel/include/rdbModel/Tables/InsertNew.h.

33{ return m_interRow; }

◆ getInterRow() [2/3]

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

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

33{ return m_interRow; }

◆ getInterRow() [3/3]

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

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

33{ return m_interRow; }

◆ getOfficial() [1/3]

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

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

32{ return m_official; }

◆ getOfficial() [2/3]

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

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

32{ return m_official; }

◆ getOfficial() [3/3]

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

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

32{ return m_official; }

◆ getTable() [1/3]

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

Definition at line 35 of file Calibration/rdbModel/include/rdbModel/Tables/InsertNew.h.

35{ return m_myTable; }

◆ getTable() [2/3]

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

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

35{ return m_myTable; }

◆ getTable() [3/3]

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

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

35{ return m_myTable; }

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