|
BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
|
ElogBeam.h Class for the table: beam_. More...
#include <ElogBeam.h>
Public Member Functions | |
| virtual | ~ElogBeam () |
| TString | GetBeam () |
| get beam of the current beam | |
| bool | GetIsActive () |
| get is active of the current beam | |
| int | SetBeam (TString beam) |
| set beam of the current beam | |
| int | SetIsActive (bool is_active) |
| set is active of the current beam | |
| void | Print () |
| print information about current beam | |
| virtual | ~ElogBeam () |
| TString | GetBeam () |
| get beam of the current beam | |
| bool | GetIsActive () |
| get is active of the current beam | |
| int | SetBeam (TString beam) |
| set beam of the current beam | |
| int | SetIsActive (bool is_active) |
| set is active of the current beam | |
| void | Print () |
| print information about current beam | |
Static Public Member Functions | |
| static ElogBeam * | CreateBeam (TString beam, bool is_active) |
| add new beam to the database | |
| static ElogBeam * | GetBeam (TString beam) |
| get beam from the database | |
| static int | CheckBeamExists (TString beam) |
| check beam exists in the database: 1- true, 0 - false, <0 - database operation error | |
| static int | DeleteBeam (TString beam) |
| delete beam from the database | |
| static int | PrintAll () |
| print all beams | |
| static ElogBeam * | CreateBeam (TString beam, bool is_active) |
| add new beam to the database | |
| static ElogBeam * | GetBeam (TString beam) |
| get beam from the database | |
| static int | CheckBeamExists (TString beam) |
| check beam exists in the database: 1- true, 0 - false, <0 - database operation error | |
| static int | DeleteBeam (TString beam) |
| delete beam from the database | |
| static int | PrintAll () |
| print all beams | |
Private Member Functions | |
| ElogBeam (ElogConnection *db_connect, TString beam, bool is_active) | |
| ElogBeam (ElogConnection *db_connect, TString beam, bool is_active) | |
Private Attributes | |
| ElogConnection * | connectionDB |
| connection to the database | |
| TString | str_beam |
| beam | |
| bool | b_is_active |
| is active | |
Definition at line 17 of file ElogBeam.h.
|
private |
Definition at line 16 of file ElogBeam.cxx.
References b_is_active, connectionDB, and str_beam.
Referenced by CreateBeam(), GetBeam(), and Print().
|
virtual |
Definition at line 25 of file ElogBeam.cxx.
References connectionDB.
|
private |
|
virtual |
|
static |
Definition at line 113 of file ElogBeam.cxx.
References TString::Data(), TString::Format(), ElogConnection::GetSQLServer(), TSQLStatement::NextResultRow(), ElogConnection::Open(), TSQLStatement::Process(), TSQLServer::Statement(), and TSQLStatement::StoreResult().
|
static |
Definition at line 32 of file ElogBeam.cxx.
References ElogBeam(), TString::Format(), ElogConnection::GetSQLServer(), TSQLStatement::NextIteration(), ElogConnection::Open(), TSQLStatement::Process(), TSQLStatement::SetInt(), TSQLStatement::SetString(), and TSQLServer::Statement().
|
static |
Definition at line 153 of file ElogBeam.cxx.
References TString::Format(), ElogConnection::GetSQLServer(), TSQLStatement::NextIteration(), ElogConnection::Open(), TSQLStatement::Process(), TSQLStatement::SetString(), and TSQLServer::Statement().
|
static |
|
inline |
Definition at line 51 of file ElogBeam.h.
References str_beam.
|
inline |
Definition at line 51 of file ElogBeam.h.
References str_beam.
Definition at line 67 of file ElogBeam.cxx.
References ElogBeam(), TString::Data(), TString::Format(), TSQLStatement::GetInt(), ElogConnection::GetSQLServer(), TSQLStatement::GetString(), TSQLStatement::NextResultRow(), ElogConnection::Open(), TSQLStatement::Process(), TSQLServer::Statement(), and TSQLStatement::StoreResult().
|
inline |
Definition at line 53 of file ElogBeam.h.
References b_is_active.
|
inline |
Definition at line 53 of file ElogBeam.h.
References b_is_active.
| void ElogBeam::Print | ( | ) |
Definition at line 289 of file ElogBeam.cxx.
References b_is_active, and str_beam.
| void ElogBeam::Print | ( | ) |
|
static |
Definition at line 183 of file ElogBeam.cxx.
References TString::Format(), TSQLStatement::GetInt(), ElogConnection::GetSQLServer(), TSQLStatement::GetString(), TSQLStatement::NextResultRow(), ElogConnection::Open(), TSQLStatement::Process(), TSQLServer::Statement(), and TSQLStatement::StoreResult().
|
static |
| int ElogBeam::SetBeam | ( | TString | beam | ) |
Definition at line 224 of file ElogBeam.cxx.
References connectionDB, TString::Format(), TSQLStatement::NextIteration(), TSQLStatement::Process(), TSQLStatement::SetString(), TSQLServer::Statement(), and str_beam.
| int ElogBeam::SetBeam | ( | TString | beam | ) |
| int ElogBeam::SetIsActive | ( | bool | is_active | ) |
Definition at line 256 of file ElogBeam.cxx.
References b_is_active, connectionDB, TString::Format(), TSQLStatement::NextIteration(), TSQLStatement::Process(), TSQLStatement::SetInt(), TSQLStatement::SetString(), TSQLServer::Statement(), and str_beam.
| int ElogBeam::SetIsActive | ( | bool | is_active | ) |
|
private |
Definition at line 27 of file ElogBeam.h.
Referenced by ElogBeam(), GetIsActive(), Print(), and SetIsActive().
|
private |
Definition at line 22 of file ElogBeam.h.
Referenced by ElogBeam(), ~ElogBeam(), SetBeam(), and SetIsActive().
|
private |
Definition at line 25 of file ElogBeam.h.
Referenced by ElogBeam(), GetBeam(), Print(), SetBeam(), and SetIsActive().