BOSS 7.0.3
BESIII Offline Software System
Loading...
Searching...
No Matches
rdbModel::InterRow Class Reference

#include <InterRow.h>

Public Member Functions

 InterRow (Table *table, Query *query=0, bool quit=true)
 
void addSet (const Set &set)
 
const std::vector< Set > & getSets () const
 
const QuerygetQuery () const
 
bool getQuit () const
 
const TablegetTable () const
 
 ~InterRow ()
 
Visitor::VisitorState accept (Visitor *v)
 
 InterRow (Table *table, Query *query=0, bool quit=true)
 
void addSet (const Set &set)
 
const std::vector< Set > & getSets () const
 
const QuerygetQuery () const
 
bool getQuit () const
 
const TablegetTable () const
 
 ~InterRow ()
 
Visitor::VisitorState accept (Visitor *v)
 

Detailed Description

InterRow is a class to describe interrow conditions between a proposed row and existing rows, and, if found, what action to take

Definition at line 18 of file Calibration/rdbModel/rdbModel-00-01-01/rdbModel/Tables/InterRow.h.

Constructor & Destructor Documentation

◆ InterRow() [1/2]

rdbModel::InterRow::InterRow ( Table table,
Query query = 0,
bool  quit = true 
)

Definition at line 9 of file InterRow.cxx.

10 : m_myTable(table), m_query(query), m_quit(quit) {
11 m_sets.clear();
12 }

◆ ~InterRow() [1/2]

rdbModel::InterRow::~InterRow ( )

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 14 of file InterRow.cxx.

14 {
15 delete m_query;
16
17 // Don't know yet whether anything more needs to be done here
18 m_sets.clear();
19 }

◆ InterRow() [2/2]

rdbModel::InterRow::InterRow ( Table table,
Query query = 0,
bool  quit = true 
)

◆ ~InterRow() [2/2]

rdbModel::InterRow::~InterRow ( )

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.

Member Function Documentation

◆ accept() [1/2]

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

Definition at line 26 of file InterRow.cxx.

26 {
27 Visitor::VisitorState state = v->visitInterRow(this);
28 if (state == Visitor::VBRANCHDONE) return Visitor::VCONTINUE;
29
30 unsigned n = m_sets.size();
31 for (unsigned i = 0; i < n; i++) {
32 state = m_sets[i].accept(v);
33 if (state != Visitor::VCONTINUE) return state;
34 }
35 return state;
36 }
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::InterRow::accept ( Visitor v)

◆ addSet() [1/2]

void rdbModel::InterRow::addSet ( const Set set)

Definition at line 21 of file InterRow.cxx.

21 {
22 m_sets.push_back(set);
23 }

◆ addSet() [2/2]

void rdbModel::InterRow::addSet ( const Set set)

◆ getQuery() [1/2]

const Query * rdbModel::InterRow::getQuery ( ) const
inline

Definition at line 24 of file Calibration/rdbModel/rdbModel-00-01-01/rdbModel/Tables/InterRow.h.

24{return m_query;}

◆ getQuery() [2/2]

const Query * rdbModel::InterRow::getQuery ( ) const
inline

Definition at line 24 of file InstallArea/include/rdbModel/rdbModel/Tables/InterRow.h.

24{return m_query;}

◆ getQuit() [1/2]

bool rdbModel::InterRow::getQuit ( ) const
inline

Definition at line 25 of file Calibration/rdbModel/rdbModel-00-01-01/rdbModel/Tables/InterRow.h.

25{return m_quit;}

◆ getQuit() [2/2]

bool rdbModel::InterRow::getQuit ( ) const
inline

Definition at line 25 of file InstallArea/include/rdbModel/rdbModel/Tables/InterRow.h.

25{return m_quit;}

◆ getSets() [1/2]

const std::vector< Set > & rdbModel::InterRow::getSets ( ) const
inline

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

23{return m_sets;}

◆ getSets() [2/2]

const std::vector< Set > & rdbModel::InterRow::getSets ( ) const
inline

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

23{return m_sets;}

◆ getTable() [1/2]

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

Definition at line 26 of file Calibration/rdbModel/rdbModel-00-01-01/rdbModel/Tables/InterRow.h.

26{return m_myTable;}

◆ getTable() [2/2]

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

Definition at line 26 of file InstallArea/include/rdbModel/rdbModel/Tables/InterRow.h.

26{return m_myTable;}

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