|
BmnRoot
|
#include <ElogConnection.h>
Public Types | |
| enum | enumDBMS { MySQL , PgSQL , MySQL , PgSQL } |
| enum | enumDBMS { MySQL , PgSQL , MySQL , PgSQL } |
Public Member Functions | |
| virtual | ~ElogConnection () |
| TSQLServer * | GetSQLServer () |
| virtual | ~ElogConnection () |
| TSQLServer * | GetSQLServer () |
Static Public Member Functions | |
| static ElogConnection * | Open () |
| static ElogConnection * | Open (enumDBMS database_type, const char *strDBHost, const char *strDBName, const char *strUID, const char *strPassword) |
| static const char * | DbToString () |
| static ElogConnection * | Open () |
| static ElogConnection * | Open (enumDBMS database_type, const char *strDBHost, const char *strDBName, const char *strUID, const char *strPassword) |
| static const char * | DbToString () |
Static Protected Attributes | |
| static mapSQLServer * | mapConnection = nullptr |
Definition at line 26 of file ElogConnection.h.
| Enumerator | |
|---|---|
| MySQL | |
| PgSQL | |
| MySQL | |
| PgSQL | |
Definition at line 29 of file ElogConnection.h.
| Enumerator | |
|---|---|
| MySQL | |
| PgSQL | |
| MySQL | |
| PgSQL | |
Definition at line 29 of file ElogConnection.h.
|
virtual |
Definition at line 96 of file ElogConnection.cxx.
|
virtual |
|
inlinestatic |
Definition at line 45 of file ElogConnection.h.
|
inlinestatic |
Definition at line 45 of file ElogConnection.h.
|
inline |
Definition at line 43 of file ElogConnection.h.
Referenced by ElogAttachment::CheckAttachmentExists(), ElogAttachment::CheckAttachmentExists(), ElogBeam::CheckBeamExists(), ElogContact::CheckContactExists(), ElogPerson::CheckPersonExists(), ElogPerson::CheckPersonExistsByName(), ElogRecord::CheckRecordExists(), ElogStatus::CheckStatusExists(), ElogStatus::CheckStatusExists(), ElogTarget::CheckTargetExists(), ElogTrigger::CheckTriggerExists(), ElogTrigger::CheckTriggerExists(), ElogType::CheckTypeExists(), ElogType::CheckTypeExists(), UniParser::ConvertElogCsv(), ElogAttachment::CreateAttachment(), ElogBeam::CreateBeam(), ElogContact::CreateContact(), ElogPerson::CreatePerson(), ElogRecord::CreateRecord(), ElogStatus::CreateStatus(), ElogTarget::CreateTarget(), ElogTrigger::CreateTrigger(), ElogType::CreateType(), ElogAttachment::DeleteAttachment(), ElogAttachment::DeleteAttachment(), ElogBeam::DeleteBeam(), ElogContact::DeleteContact(), ElogPerson::DeletePerson(), ElogPerson::DeletePersonByName(), ElogRecord::DeleteRecord(), ElogStatus::DeleteStatus(), ElogStatus::DeleteStatus(), ElogTarget::DeleteTarget(), ElogTrigger::DeleteTrigger(), ElogTrigger::DeleteTrigger(), ElogType::DeleteType(), ElogType::DeleteType(), ElogAttachment::GetAttachment(), ElogAttachment::GetAttachment(), ElogBeam::GetBeam(), ElogContact::GetContact(), ElogPerson::GetPerson(), ElogPerson::GetPersonByName(), ElogRecord::GetRecord(), ElogRecord::GetRecords(), ElogStatus::GetStatus(), ElogStatus::GetStatus(), ElogTarget::GetTarget(), ElogTrigger::GetTrigger(), ElogTrigger::GetTrigger(), ElogType::GetType(), ElogType::GetType(), ElogAttachment::PrintAll(), ElogBeam::PrintAll(), ElogContact::PrintAll(), ElogPerson::PrintAll(), ElogRecord::PrintAll(), ElogStatus::PrintAll(), ElogTarget::PrintAll(), ElogTrigger::PrintAll(), ElogType::PrintAll(), ElogRecord::Search(), ElogAttachment::SetAttachmentNumber(), ElogBeam::SetBeam(), ElogRecord::SetBeam(), ElogContact::SetContactDesc(), ElogContact::SetContactName(), ElogRecord::SetDaqStatus(), ElogContact::SetEmail(), ElogPerson::SetEmail(), ElogRecord::SetEnergy(), ElogAttachment::SetFilePath(), ElogBeam::SetIsActive(), ElogPerson::SetIsActive(), ElogTarget::SetIsActive(), ElogTrigger::SetIsActive(), ElogRecord::SetPeriodNumber(), ElogPerson::SetPersonName(), ElogContact::SetPhones(), ElogRecord::SetRecordComment(), ElogRecord::SetRecordDate(), ElogAttachment::SetRecordId(), ElogRecord::SetRunNumber(), ElogRecord::SetShiftLeaderId(), ElogRecord::SetSp41(), ElogRecord::SetSp57(), ElogStatus::SetStatusText(), ElogRecord::SetSystemStatusId(), ElogRecord::SetTarget(), ElogTarget::SetTarget(), ElogRecord::SetTargetWidth(), ElogRecord::SetTriggerId(), ElogTrigger::SetTriggerInfo(), ElogRecord::SetTypeId(), ElogType::SetTypeText(), and ElogRecord::SetVkm2().
|
inline |
Definition at line 43 of file ElogConnection.h.
|
static |
Definition at line 55 of file ElogConnection.cxx.
References ELOG_DB_HOST, ELOG_DB_NAME, ELOG_DB_PASSWORD, and ELOG_DB_USERNAME.
Referenced by ElogAttachment::CheckAttachmentExists(), ElogAttachment::CheckAttachmentExists(), ElogBeam::CheckBeamExists(), ElogContact::CheckContactExists(), ElogPerson::CheckPersonExists(), ElogPerson::CheckPersonExistsByName(), ElogRecord::CheckRecordExists(), ElogStatus::CheckStatusExists(), ElogStatus::CheckStatusExists(), ElogTarget::CheckTargetExists(), ElogTrigger::CheckTriggerExists(), ElogTrigger::CheckTriggerExists(), ElogType::CheckTypeExists(), ElogType::CheckTypeExists(), UniParser::ConvertElogCsv(), ElogAttachment::CreateAttachment(), ElogBeam::CreateBeam(), ElogContact::CreateContact(), ElogPerson::CreatePerson(), ElogRecord::CreateRecord(), ElogStatus::CreateStatus(), ElogTarget::CreateTarget(), ElogTrigger::CreateTrigger(), ElogType::CreateType(), ElogAttachment::DeleteAttachment(), ElogAttachment::DeleteAttachment(), ElogBeam::DeleteBeam(), ElogContact::DeleteContact(), ElogPerson::DeletePerson(), ElogPerson::DeletePersonByName(), ElogRecord::DeleteRecord(), ElogStatus::DeleteStatus(), ElogStatus::DeleteStatus(), ElogTarget::DeleteTarget(), ElogTrigger::DeleteTrigger(), ElogTrigger::DeleteTrigger(), ElogType::DeleteType(), ElogType::DeleteType(), ElogAttachment::GetAttachment(), ElogAttachment::GetAttachment(), ElogBeam::GetBeam(), ElogContact::GetContact(), ElogPerson::GetPerson(), ElogPerson::GetPersonByName(), ElogRecord::GetRecord(), ElogRecord::GetRecords(), ElogStatus::GetStatus(), ElogStatus::GetStatus(), ElogTarget::GetTarget(), ElogTrigger::GetTrigger(), ElogTrigger::GetTrigger(), ElogType::GetType(), ElogType::GetType(), ElogAttachment::PrintAll(), ElogBeam::PrintAll(), ElogContact::PrintAll(), ElogPerson::PrintAll(), ElogRecord::PrintAll(), ElogStatus::PrintAll(), ElogTarget::PrintAll(), ElogTrigger::PrintAll(), ElogType::PrintAll(), and ElogRecord::Search().
|
static |
|
static |
Definition at line 72 of file ElogConnection.cxx.
|
static |
|
staticprotected |
Definition at line 48 of file ElogConnection.h.