|
BmnRoot
|
#include <ElogStatus.h>
Public Member Functions | |
| virtual | ~ElogStatus () |
| int | GetStatusId () |
| get status id of the current status | |
| TString | GetStatusText () |
| get status text of the current status | |
| int | SetStatusText (TString status_text) |
| set status text of the current status | |
| void | Print () |
| print information about current status | |
| ClassDef (ElogStatus, 1) | |
Static Public Member Functions | |
| static ElogStatus * | CreateStatus (TString status_text) |
| add new status to the database | |
| static ElogStatus * | GetStatus (int status_id) |
| get status from the database | |
| static ElogStatus * | GetStatus (TString status_text) |
| get status from the database | |
| static int | CheckStatusExists (int status_id) |
| check status exists in the database: 1- true, 0 - false, <0 - database operation error | |
| static int | CheckStatusExists (TString status_text) |
| check status exists in the database: 1- true, 0 - false, <0 - database operation error | |
| static int | DeleteStatus (int status_id) |
| delete status from the database | |
| static int | DeleteStatus (TString status_text) |
| delete status from the database | |
| static int | PrintAll () |
| print all statuss | |
/home/gertsen/bmnroot/database/elog_db/ElogStatus.h Class for the table: status_
Definition at line 18 of file ElogStatus.h.
|
virtual |
Definition at line 25 of file ElogStatus.cxx.
|
static |
check status exists in the database: 1- true, 0 - false, <0 - database operation error
Definition at line 182 of file ElogStatus.cxx.
References ElogConnection::GetSQLServer(), and ElogConnection::Open().
|
static |
check status exists in the database: 1- true, 0 - false, <0 - database operation error
Definition at line 222 of file ElogStatus.cxx.
References ElogConnection::GetSQLServer(), and ElogConnection::Open().
| ElogStatus::ClassDef | ( | ElogStatus | , |
| 1 | |||
| ) |
|
static |
add new status to the database
Definition at line 32 of file ElogStatus.cxx.
References ElogConnection::GetSQLServer(), and ElogConnection::Open().
|
static |
delete status from the database
Definition at line 262 of file ElogStatus.cxx.
References ElogConnection::GetSQLServer(), and ElogConnection::Open().
|
static |
delete status from the database
Definition at line 292 of file ElogStatus.cxx.
References ElogConnection::GetSQLServer(), and ElogConnection::Open().
|
static |
get status from the database
Definition at line 90 of file ElogStatus.cxx.
References ElogConnection::GetSQLServer(), and ElogConnection::Open().
|
static |
get status from the database
Definition at line 136 of file ElogStatus.cxx.
References ElogConnection::GetSQLServer(), and ElogConnection::Open().
|
inline |
get status id of the current status
Definition at line 58 of file ElogStatus.h.
|
inline |
get status text of the current status
Definition at line 60 of file ElogStatus.h.
| void ElogStatus::Print | ( | ) |
print information about current status
Definition at line 396 of file ElogStatus.cxx.
|
static |
print all statuss
Definition at line 322 of file ElogStatus.cxx.
References ElogConnection::GetSQLServer(), and ElogConnection::Open().
| int ElogStatus::SetStatusText | ( | TString | status_text | ) |
set status text of the current status
Definition at line 363 of file ElogStatus.cxx.
References ElogConnection::GetSQLServer().