![]() |
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 StatusCode | queryInterface (const InterfaceID &riid, void **ppvInterface) |
virtual double | getDouble (IRDBRecordset_ptr recordSet, const std::string &name, int index=0) const |
The following methods will first look in the text file if provided and then look in the database. More... | |
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 |
The following methods look only in the text file and their intention is for use during development before the table exists in the database. More... | |
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... | |
MsgStream & | msg () const |
MsgStream & | msg (const MSG::Level lvl) const |
bool | msgLvl (const MSG::Level lvl) const |
Static Public Member Functions | |
static const InterfaceID & | interfaceID () |
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 |
The following methods look only in the text file and their intention is for use during development before the table exists in the database.
It is recommended however to use the above methods that take a IRDBRecordset pointer.
Implements IGeometryDBSvc.
Definition at line 165 of file GeometryDBSvc.cxx.
|
virtual |
The following methods will first look in the text file if provided and then look in the database.
Implements IGeometryDBSvc.
Definition at line 146 of file GeometryDBSvc.cxx.
|
virtual |
Implements IGeometryDBSvc.
Definition at line 197 of file GeometryDBSvc.cxx.
|
virtual |
Implements IGeometryDBSvc.
Definition at line 178 of file GeometryDBSvc.cxx.
|
virtual |
Implements IGeometryDBSvc.
Definition at line 229 of file GeometryDBSvc.cxx.
|
virtual |
Implements IGeometryDBSvc.
Definition at line 210 of file GeometryDBSvc.cxx.
|
virtual |
Implements IGeometryDBSvc.
Definition at line 364 of file GeometryDBSvc.cxx.
|
virtual |
Implements IGeometryDBSvc.
Definition at line 341 of file GeometryDBSvc.cxx.
|
private |
Definition at line 385 of file GeometryDBSvc.cxx.
|
private |
Definition at line 264 of file GeometryDBSvc.cxx.
|
private |
Definition at line 282 of file GeometryDBSvc.cxx.
|
private |
Definition at line 243 of file GeometryDBSvc.cxx.
|
virtual |
Service init.
Definition at line 30 of file GeometryDBSvc.cxx.
|
inlinestatic |
Definition at line 78 of file GeometryDBSvc.h.
|
inlineinherited |
Definition at line 24 of file AthCommonMsg.h.
|
inlineinherited |
Definition at line 27 of file AthCommonMsg.h.
|
inlineinherited |
Definition at line 30 of file AthCommonMsg.h.
|
private |
Definition at line 134 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.
Implements IGeometryDBSvc.
Definition at line 413 of file GeometryDBSvc.cxx.
|
virtual |
Print paramaters read in from text file. If section is supplied only consider the parameters in that section.
Implements IGeometryDBSvc.
Definition at line 407 of file GeometryDBSvc.cxx.
|
virtual |
Definition at line 105 of file GeometryDBSvc.cxx.
|
private |
Definition at line 118 of file GeometryDBSvc.cxx.
|
virtual |
Implements IGeometryDBSvc.
Definition at line 333 of file GeometryDBSvc.cxx.
|
virtual |
Implements IGeometryDBSvc.
Definition at line 307 of file GeometryDBSvc.cxx.
|
virtual |
Implements IGeometryDBSvc.
Definition at line 300 of file GeometryDBSvc.cxx.
|
private |
Definition at line 72 of file GeometryDBSvc.h.
|
private |
Definition at line 71 of file GeometryDBSvc.h.
|
private |
Definition at line 73 of file GeometryDBSvc.h.
|
private |
Definition at line 70 of file GeometryDBSvc.h.
|
private |
Definition at line 67 of file GeometryDBSvc.h.