BOSS 6.6.4.p03
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)
 

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 InterRow.h.

Constructor & Destructor Documentation

◆ InterRow()

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()

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 }

Member Function Documentation

◆ accept()

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

◆ addSet()

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

Definition at line 21 of file InterRow.cxx.

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

◆ getQuery()

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

Definition at line 24 of file InterRow.h.

24{return m_query;}

◆ getQuit()

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

Definition at line 25 of file InterRow.h.

25{return m_quit;}

◆ getSets()

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

Definition at line 23 of file InterRow.h.

23{return m_sets;}

◆ getTable()

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

Definition at line 26 of file InterRow.h.

26{return m_myTable;}

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