ATLAS Offline Software
Public Member Functions | Static Public Member Functions | List of all members
IGeometryDBSvc Class Referenceabstract

#include <IGeometryDBSvc.h>

Inheritance diagram for IGeometryDBSvc:
Collaboration diagram for IGeometryDBSvc:

Public Member Functions

virtual ~IGeometryDBSvc ()
 
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. More...
 
virtual int getInt (IRDBRecordset_ptr recordSet, const std::string &name, int index=0) const =0
 
virtual std::string getString (IRDBRecordset_ptr recordSet, const std::string &name, int index=0) const =0
 
virtual bool testField (IRDBRecordset_ptr recordSet, 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 unsigned int getTableSize (IRDBRecordset_ptr recordSet) 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 before the table exists in the database. More...
 
virtual int getInt (const std::string &recordSetName, 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 bool testField (const std::string &recordSetName, const std::string &name, int index=0) const =0
 
virtual unsigned int getTableSize (const std::string &recordSetName) const =0
 
virtual void printParameters (const std::string &section="") const =0
 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 &section="") const =0
 Print paramaters from text file which are not used. If section is supplied only consider the parameters in that section. More...
 

Static Public Member Functions

static const InterfaceID & interfaceID ()
 reimplemented from IInterface More...
 

Detailed Description

Interface class to access geometry database with possibility to override parameters from a text file. Note, that overriding from a text file should not be used for production geometries. Its purpose is for mainly for development and private tests.

Definition at line 20 of file IGeometryDBSvc.h.

Constructor & Destructor Documentation

◆ ~IGeometryDBSvc()

virtual IGeometryDBSvc::~IGeometryDBSvc ( )
inlinevirtual

Definition at line 23 of file IGeometryDBSvc.h.

23 {}

Member Function Documentation

◆ getDouble() [1/2]

virtual double IGeometryDBSvc::getDouble ( const std::string &  recordSetName,
const std::string &  name,
int  index = 0 
) const
pure 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.

Implemented in GeometryDBSvc.

◆ getDouble() [2/2]

virtual double IGeometryDBSvc::getDouble ( IRDBRecordset_ptr  recordSet,
const std::string &  name,
int  index = 0 
) const
pure virtual

The following methods will first look in the text file if provided and then look in the database.

Implemented in GeometryDBSvc.

◆ getInt() [1/2]

virtual int IGeometryDBSvc::getInt ( const std::string &  recordSetName,
const std::string &  name,
int  index = 0 
) const
pure virtual

Implemented in GeometryDBSvc.

◆ getInt() [2/2]

virtual int IGeometryDBSvc::getInt ( IRDBRecordset_ptr  recordSet,
const std::string &  name,
int  index = 0 
) const
pure virtual

Implemented in GeometryDBSvc.

◆ getString() [1/2]

virtual std::string IGeometryDBSvc::getString ( const std::string &  recordSetName,
const std::string &  name,
int  index = 0 
) const
pure virtual

Implemented in GeometryDBSvc.

◆ getString() [2/2]

virtual std::string IGeometryDBSvc::getString ( IRDBRecordset_ptr  recordSet,
const std::string &  name,
int  index = 0 
) const
pure virtual

Implemented in GeometryDBSvc.

◆ getTableSize() [1/2]

virtual unsigned int IGeometryDBSvc::getTableSize ( const std::string &  recordSetName) const
pure virtual

Implemented in GeometryDBSvc.

◆ getTableSize() [2/2]

virtual unsigned int IGeometryDBSvc::getTableSize ( IRDBRecordset_ptr  recordSet) const
pure virtual

Implemented in GeometryDBSvc.

◆ interfaceID()

const InterfaceID & IGeometryDBSvc::interfaceID ( )
inlinestatic

reimplemented from IInterface

Definition at line 52 of file IGeometryDBSvc.h.

52  {
53  static const InterfaceID IID_IGeometryDBSvc("IGeometryDBSvc",1,0);
54  return IID_IGeometryDBSvc;
55 }

◆ printNotUsed()

virtual void IGeometryDBSvc::printNotUsed ( const std::string &  section = "") const
pure virtual

Print paramaters from text file which are not used. If section is supplied only consider the parameters in that section.

Implemented in GeometryDBSvc.

◆ printParameters()

virtual void IGeometryDBSvc::printParameters ( const std::string &  section = "") const
pure virtual

Print paramaters read in from text file. If section is supplied only consider the parameters in that section.

Implemented in GeometryDBSvc.

◆ testField() [1/2]

virtual bool IGeometryDBSvc::testField ( const std::string &  recordSetName,
const std::string &  name,
int  index = 0 
) const
pure virtual

Implemented in GeometryDBSvc.

◆ testField() [2/2]

virtual bool IGeometryDBSvc::testField ( IRDBRecordset_ptr  recordSet,
const std::string &  name,
int  index = 0 
) const
pure virtual

Implemented in GeometryDBSvc.

◆ testFieldTxt()

virtual bool IGeometryDBSvc::testFieldTxt ( IRDBRecordset_ptr  recordSet,
const std::string &  name,
int  index = 0 
) const
pure virtual

Implemented in GeometryDBSvc.


The documentation for this class was generated from the following file: