BOSS 6.6.4.p01
BESIII Offline Software System
Loading...
Searching...
No Matches
rdbModel::Index Class Reference

#include <Index.h>

Public Member Functions

 Index (Table *myTable=0)
 
 ~Index ()
 
const std::string & getName () const
 
bool isPrimary () const
 
const std::vector< std::string > & getColumnNames ()
 
Visitor::VisitorState accept (Visitor *v)
 

Friends

class rdbModel::XercesBuilder
 

Detailed Description

rdbModel representation of a(n SQL-like) key (aka index) description

Definition at line 19 of file Index.h.

Constructor & Destructor Documentation

◆ Index()

rdbModel::Index::Index ( Table myTable = 0)
inline

Definition at line 21 of file Index.h.

21: m_myTable(myTable) {};

◆ ~Index()

rdbModel::Index::~Index ( )
inline

Definition at line 22 of file Index.h.

22{};

Member Function Documentation

◆ accept()

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

Definition at line 7 of file Index.cxx.

7 {
8 Visitor::VisitorState state = v->visitIndex(this);
9 if (state == Visitor::VBRANCHDONE) return Visitor::VCONTINUE;
10 return state;
11 }
**********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

◆ getColumnNames()

const std::vector< std::string > & rdbModel::Index::getColumnNames ( )

Definition at line 13 of file Index.cxx.

13 {
14 return m_indexCols;
15 }

◆ getName()

const std::string & rdbModel::Index::getName ( ) const
inline

Definition at line 24 of file Index.h.

24{return m_name; };

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

◆ isPrimary()

bool rdbModel::Index::isPrimary ( ) const
inline

Definition at line 25 of file Index.h.

25{return m_primary;}

Friends And Related Function Documentation

◆ rdbModel::XercesBuilder

friend class rdbModel::XercesBuilder
friend

Definition at line 32 of file Index.h.


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