|
BmnRoot
|
#include <ElogPerson.h>
Public Member Functions | |
| virtual | ~ElogPerson () |
| TString | GetPersonId () |
| get person id of the current person | |
| TString | GetPersonName () |
| get person name of the current person | |
| bool | GetIsActive () |
| get is active of the current person | |
| TString * | GetEmail () |
| get email of the current person | |
| int | SetPersonName (TString person_name) |
| set person name of the current person | |
| int | SetIsActive (bool is_active) |
| set is active of the current person | |
| int | SetEmail (TString *email) |
| set email of the current person | |
| void | Print () |
| print information about current person | |
| ClassDef (ElogPerson, 1) | |
| virtual | ~ElogPerson () |
| TString | GetPersonId () |
| get person id of the current person | |
| TString | GetPersonName () |
| get person name of the current person | |
| bool | GetIsActive () |
| get is active of the current person | |
| TString * | GetEmail () |
| get email of the current person | |
| int | SetPersonName (TString person_name) |
| set person name of the current person | |
| int | SetIsActive (bool is_active) |
| set is active of the current person | |
| int | SetEmail (TString *email) |
| set email of the current person | |
| void | Print () |
| print information about current person | |
| ClassDef (ElogPerson, 1) | |
Static Public Member Functions | |
| static ElogPerson * | CreatePerson (TString person_name, bool is_active, TString *email) |
| add new person to the database | |
| static ElogPerson * | GetPerson (TString person_id) |
| get person from the database | |
| static int | CheckPersonExists (TString person_id) |
| check person exists in the database: 1 - true, 0 - false, <0 - database operation error | |
| static int | DeletePerson (TString person_id) |
| delete person from the database | |
| static int | PrintAll () |
| print all persons | |
| static TObjArray * | GetPersonByName (TString person_name_part) |
| get persons from the database by name or its part | |
| static int | CheckPersonExistsByName (TString person_name_part) |
| static int | DeletePersonByName (TString person_name_part) |
| static ElogPerson * | CreatePerson (TString person_name, bool is_active, TString *email) |
| add new person to the database | |
| static ElogPerson * | GetPerson (TString person_id) |
| get person from the database | |
| static int | CheckPersonExists (TString person_id) |
| check person exists in the database: 1 - true, 0 - false, <0 - database operation error | |
| static int | DeletePerson (TString person_id) |
| delete person from the database | |
| static int | PrintAll () |
| print all persons | |
| static TObjArray * | GetPersonByName (TString person_name_part) |
| get persons from the database by name or its part | |
| static int | CheckPersonExistsByName (TString person_name_part) |
| static int | DeletePersonByName (TString person_name_part) |
ElogPerson.h Class for the table: person_
Definition at line 19 of file ElogPerson.h.
|
virtual |
Definition at line 27 of file ElogPerson.cxx.
|
virtual |
|
static |
check person exists in the database: 1 - true, 0 - false, <0 - database operation error
Definition at line 159 of file ElogPerson.cxx.
References ElogConnection::GetSQLServer(), and ElogConnection::Open().
|
static |
check person exists in the database: 1 - true, 0 - false, <0 - database operation error
|
static |
check persons exists in the database by name or its part: >=1 - person count, 0 - false, <0 - database operation error
Definition at line 457 of file ElogPerson.cxx.
References ElogConnection::GetSQLServer(), and ElogConnection::Open().
|
static |
check persons exists in the database by name or its part: >=1 - person count, 0 - false, <0 - database operation error
| ElogPerson::ClassDef | ( | ElogPerson | , |
| 1 | |||
| ) |
| ElogPerson::ClassDef | ( | ElogPerson | , |
| 1 | |||
| ) |
|
static |
add new person to the database
Definition at line 36 of file ElogPerson.cxx.
References ElogConnection::GetSQLServer(), and ElogConnection::Open().
|
static |
add new person to the database
|
static |
delete person from the database
Definition at line 199 of file ElogPerson.cxx.
References ElogConnection::GetSQLServer(), and ElogConnection::Open().
|
static |
delete person from the database
|
static |
delete persons from the database by name or its part >=1 - affected count, 0 - persons not found, <0 - database operation error
Definition at line 500 of file ElogPerson.cxx.
References ElogConnection::GetSQLServer(), and ElogConnection::Open().
|
static |
delete persons from the database by name or its part >=1 - affected count, 0 - persons not found, <0 - database operation error
|
inline |
get email of the current person
Definition at line 63 of file ElogPerson.h.
|
inline |
get email of the current person
Definition at line 63 of file ElogPerson.h.
|
inline |
get is active of the current person
Definition at line 61 of file ElogPerson.h.
|
inline |
get is active of the current person
Definition at line 61 of file ElogPerson.h.
|
static |
get person from the database
Definition at line 106 of file ElogPerson.cxx.
References ElogConnection::GetSQLServer(), and ElogConnection::Open().
|
static |
get person from the database
|
static |
get persons from the database by name or its part
Definition at line 393 of file ElogPerson.cxx.
References ElogConnection::GetSQLServer(), and ElogConnection::Open().
|
static |
get persons from the database by name or its part
|
inline |
get person id of the current person
Definition at line 57 of file ElogPerson.h.
|
inline |
get person id of the current person
Definition at line 57 of file ElogPerson.h.
|
inline |
get person name of the current person
Definition at line 59 of file ElogPerson.h.
|
inline |
get person name of the current person
Definition at line 59 of file ElogPerson.h.
| void ElogPerson::Print | ( | ) |
print information about current person
Definition at line 382 of file ElogPerson.cxx.
| void ElogPerson::Print | ( | ) |
print information about current person
|
static |
print all persons
Definition at line 229 of file ElogPerson.cxx.
References ElogConnection::GetSQLServer(), and ElogConnection::Open().
|
static |
print all persons
| int ElogPerson::SetEmail | ( | TString * | ) |
set email of the current person
Definition at line 341 of file ElogPerson.cxx.
References ElogConnection::GetSQLServer().
| int ElogPerson::SetEmail | ( | TString * | ) |
set email of the current person
| int ElogPerson::SetIsActive | ( | bool | is_active | ) |
set is active of the current person
Definition at line 309 of file ElogPerson.cxx.
References ElogConnection::GetSQLServer().
| int ElogPerson::SetIsActive | ( | bool | is_active | ) |
set is active of the current person
| int ElogPerson::SetPersonName | ( | TString | person_name | ) |
set person name of the current person
Definition at line 277 of file ElogPerson.cxx.
References ElogConnection::GetSQLServer().
| int ElogPerson::SetPersonName | ( | TString | person_name | ) |
set person name of the current person