5#ifndef DetectorDescription_IGeometryDBSvc_h
6#define DetectorDescription_IGeometryDBSvc_h
8#include "GaudiKernel/IInterface.h"
38 virtual double getDouble(
const std::string & recordSetName,
const std::string & name,
int index=0)
const=0;
39 virtual int getInt(
const std::string & recordSetName,
const std::string & name,
int index=0)
const=0;
40 virtual std::string
getString(
const std::string & recordSetName,
const std::string & name,
int index=0)
const=0;
41 virtual bool testField(
const std::string & recordSetName,
const std::string & name,
int index=0)
const=0;
42 virtual unsigned int getTableSize(
const std::string & recordSetName)
const=0;
Definition of the abstract IRDBAccessSvc interface.
std::shared_ptr< IRDBRecordset > IRDBRecordset_ptr
Interface class to access geometry database with possibility to override parameters from a text file.
virtual bool testField(IRDBRecordset_ptr recordSet, const std::string &name, int index=0) const =0
virtual void printParameters(const std::string §ion="") const =0
Print paramaters read in from text file. If section is supplied only consider the parameters in that ...
virtual std::string getString(IRDBRecordset_ptr recordSet, const std::string &name, int index=0) const =0
virtual std::string getString(const std::string &recordSetName, const std::string &name, int index=0) const =0
virtual unsigned int getTableSize(const std::string &recordSetName) const =0
virtual double getDouble(const std::string &recordSetName, const std::string &name, int index=0) const =0
The following methods look only in the text file and their intention is for use during development be...
virtual int getInt(IRDBRecordset_ptr recordSet, const std::string &name, int index=0) const =0
virtual double getDouble(IRDBRecordset_ptr recordSet, const std::string &name, int index=0) const =0
The following methods will first look in the text file if provided and then look in the database.
virtual void printNotUsed(const std::string §ion="") const =0
Print paramaters from text file which are not used. If section is supplied only consider the paramete...
virtual unsigned int getTableSize(IRDBRecordset_ptr recordSet) const =0
virtual int getInt(const std::string &recordSetName, const std::string &name, int index=0) const =0
virtual bool testField(const std::string &recordSetName, const std::string &name, int index=0) const =0
virtual bool testFieldTxt(IRDBRecordset_ptr recordSet, const std::string &name, int index=0) const =0
virtual ~IGeometryDBSvc()
DeclareInterfaceID(IGeometryDBSvc, 1, 0)