|
BmnRoot
|
#include <ElogTarget.h>
Public Member Functions | |
| virtual | ~ElogTarget () |
| TString | GetTarget () |
| get target of the current target | |
| bool | GetIsActive () |
| get is active of the current target | |
| int | SetTarget (TString target) |
| set target of the current target | |
| int | SetIsActive (bool is_active) |
| set is active of the current target | |
| void | Print () |
| print information about current target | |
| ClassDef (ElogTarget, 1) | |
| virtual | ~ElogTarget () |
| TString | GetTarget () |
| get target of the current target | |
| bool | GetIsActive () |
| get is active of the current target | |
| int | SetTarget (TString target) |
| set target of the current target | |
| int | SetIsActive (bool is_active) |
| set is active of the current target | |
| void | Print () |
| print information about current target | |
| ClassDef (ElogTarget, 1) | |
Static Public Member Functions | |
| static ElogTarget * | CreateTarget (TString target, bool is_active) |
| add new target to the database | |
| static ElogTarget * | GetTarget (TString target) |
| get target from the database | |
| static int | CheckTargetExists (TString target) |
| check target exists in the database: 1- true, 0 - false, <0 - database operation error | |
| static int | DeleteTarget (TString target) |
| delete target from the database | |
| static int | PrintAll () |
| print all targets | |
| static ElogTarget * | CreateTarget (TString target, bool is_active) |
| add new target to the database | |
| static ElogTarget * | GetTarget (TString target) |
| get target from the database | |
| static int | CheckTargetExists (TString target) |
| check target exists in the database: 1- true, 0 - false, <0 - database operation error | |
| static int | DeleteTarget (TString target) |
| delete target from the database | |
| static int | PrintAll () |
| print all targets | |
ElogTarget.h Class for the table: target_
Definition at line 17 of file ElogTarget.h.
|
virtual |
Definition at line 25 of file ElogTarget.cxx.
|
virtual |
|
static |
check target exists in the database: 1- true, 0 - false, <0 - database operation error
Definition at line 113 of file ElogTarget.cxx.
References ElogConnection::GetSQLServer(), and ElogConnection::Open().
|
static |
check target exists in the database: 1- true, 0 - false, <0 - database operation error
| ElogTarget::ClassDef | ( | ElogTarget | , |
| 1 | |||
| ) |
| ElogTarget::ClassDef | ( | ElogTarget | , |
| 1 | |||
| ) |
|
static |
add new target to the database
Definition at line 32 of file ElogTarget.cxx.
References ElogConnection::GetSQLServer(), and ElogConnection::Open().
|
static |
add new target to the database
|
static |
delete target from the database
Definition at line 153 of file ElogTarget.cxx.
References ElogConnection::GetSQLServer(), and ElogConnection::Open().
|
static |
delete target from the database
|
inline |
get is active of the current target
Definition at line 53 of file ElogTarget.h.
|
inline |
get is active of the current target
Definition at line 53 of file ElogTarget.h.
|
inline |
get target of the current target
Definition at line 51 of file ElogTarget.h.
|
inline |
get target of the current target
Definition at line 51 of file ElogTarget.h.
|
static |
get target from the database
Definition at line 67 of file ElogTarget.cxx.
References ElogConnection::GetSQLServer(), and ElogConnection::Open().
|
static |
get target from the database
| void ElogTarget::Print | ( | ) |
print information about current target
Definition at line 289 of file ElogTarget.cxx.
| void ElogTarget::Print | ( | ) |
print information about current target
|
static |
print all targets
Definition at line 183 of file ElogTarget.cxx.
References ElogConnection::GetSQLServer(), and ElogConnection::Open().
|
static |
print all targets
| int ElogTarget::SetIsActive | ( | bool | is_active | ) |
set is active of the current target
Definition at line 256 of file ElogTarget.cxx.
References ElogConnection::GetSQLServer().
| int ElogTarget::SetIsActive | ( | bool | is_active | ) |
set is active of the current target
| int ElogTarget::SetTarget | ( | TString | target | ) |
set target of the current target
Definition at line 224 of file ElogTarget.cxx.
References ElogConnection::GetSQLServer().
| int ElogTarget::SetTarget | ( | TString | target | ) |
set target of the current target