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

#include <IGeometryDBSvc.h>

Inheritance diagram for IGeometryDBSvc:
Collaboration diagram for IGeometryDBSvc:

Public Member Functions

 DeclareInterfaceID (IGeometryDBSvc, 1, 0)
 
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...
 

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 25 of file IGeometryDBSvc.h.

25 {}

Member Function Documentation

◆ DeclareInterfaceID()

IGeometryDBSvc::DeclareInterfaceID ( IGeometryDBSvc  ,
,
 
)

◆ 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.

◆ 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.

◆ getInt() [1/2]

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

◆ getInt() [2/2]

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

◆ getString() [1/2]

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

◆ getString() [2/2]

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

◆ getTableSize() [1/2]

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

◆ getTableSize() [2/2]

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

◆ 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.

◆ 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.

◆ testField() [1/2]

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

◆ testField() [2/2]

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

◆ testFieldTxt()

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

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