ATLAS Offline Software
|
#include <GeometryDBSvc.h>
Public Member Functions | |
GeometryDBSvc (const std::string &name, ISvcLocator *sl) | |
virtual | ~GeometryDBSvc () |
virtual StatusCode | initialize () |
Service init. More... | |
virtual StatusCode | finalize () |
Service finalize. More... | |
virtual double | getDouble (IRDBRecordset_ptr recordSet, const std::string &name, int index=0) const |
virtual int | getInt (IRDBRecordset_ptr recordSet, const std::string &name, int index=0) const |
virtual std::string | getString (IRDBRecordset_ptr recordSet, const std::string &name, int index=0) const |
virtual bool | testField (IRDBRecordset_ptr recordSet, const std::string &name, int index=0) const |
virtual bool | testFieldTxt (IRDBRecordset_ptr recordSet, const std::string &name, int index=0) const |
virtual unsigned int | getTableSize (IRDBRecordset_ptr recordSet) const |
virtual double | getDouble (const std::string &recordSetName, const std::string &name, int index=0) const |
virtual int | getInt (const std::string &recordSetName, const std::string &name, int index=0) const |
virtual std::string | getString (const std::string &recordSetName, const std::string &name, int index=0) const |
virtual bool | testField (const std::string &recordSetName, const std::string &name, int index=0) const |
virtual unsigned int | getTableSize (const std::string &recordSetName) const |
virtual void | printParameters (const std::string §ion="") const |
Print paramaters read in from text file. If section is supplied only consider the parameters in that section. More... | |
virtual void | printNotUsed (const std::string §ion="") const |
Print paramaters from text file which are not used. If section is supplied only consider the parameters in that section. More... | |
Private Member Functions | |
void | setParameterFileName (const std::string &filename) |
std::string | parameterKey (const std::string &recordSetName, const std::string &name, int index) const |
bool | getValue (const std::string &recordSetName, const std::string &name, int index, std::string &var) const |
bool | getValue (const std::string &recordSetName, const std::string &name, int index, double &var) const |
bool | getValue (const std::string &recordSetName, const std::string &name, int index, int &var) const |
bool | getTableSizeFromTextFile (const std::string &recordSetName, int &var) const |
Private Attributes | |
TextFileDBReader * | m_textParameters |
std::string | m_textFileName |
bool | m_printParameters |
bool | m_printNotUsed |
std::vector< std::string > | m_sections |
Concrete class for interface to geometry database with possibility to override entries from a text file.
Definition at line 25 of file GeometryDBSvc.h.
GeometryDBSvc::GeometryDBSvc | ( | const std::string & | name, |
ISvcLocator * | sl | ||
) |
Definition at line 14 of file GeometryDBSvc.cxx.
|
virtual |
Definition at line 24 of file GeometryDBSvc.cxx.
|
virtual |
Service finalize.
Definition at line 67 of file GeometryDBSvc.cxx.
|
virtual |
Definition at line 148 of file GeometryDBSvc.cxx.
|
virtual |
Definition at line 129 of file GeometryDBSvc.cxx.
|
virtual |
Definition at line 180 of file GeometryDBSvc.cxx.
|
virtual |
Definition at line 161 of file GeometryDBSvc.cxx.
|
virtual |
Definition at line 212 of file GeometryDBSvc.cxx.
|
virtual |
Definition at line 193 of file GeometryDBSvc.cxx.
|
virtual |
Definition at line 347 of file GeometryDBSvc.cxx.
|
virtual |
Definition at line 324 of file GeometryDBSvc.cxx.
|
private |
Definition at line 368 of file GeometryDBSvc.cxx.
|
private |
Definition at line 247 of file GeometryDBSvc.cxx.
|
private |
Definition at line 265 of file GeometryDBSvc.cxx.
|
private |
Definition at line 226 of file GeometryDBSvc.cxx.
|
virtual |
Service init.
Definition at line 30 of file GeometryDBSvc.cxx.
|
private |
Definition at line 117 of file GeometryDBSvc.cxx.
|
virtual |
Print paramaters from text file which are not used. If section is supplied only consider the parameters in that section.
Definition at line 396 of file GeometryDBSvc.cxx.
|
virtual |
Print paramaters read in from text file. If section is supplied only consider the parameters in that section.
Definition at line 390 of file GeometryDBSvc.cxx.
|
private |
Definition at line 101 of file GeometryDBSvc.cxx.
|
virtual |
Definition at line 316 of file GeometryDBSvc.cxx.
|
virtual |
Definition at line 290 of file GeometryDBSvc.cxx.
|
virtual |
Definition at line 283 of file GeometryDBSvc.cxx.
|
private |
Definition at line 69 of file GeometryDBSvc.h.
|
private |
Definition at line 68 of file GeometryDBSvc.h.
|
private |
Definition at line 70 of file GeometryDBSvc.h.
|
private |
Definition at line 67 of file GeometryDBSvc.h.
|
private |
Definition at line 64 of file GeometryDBSvc.h.