ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
DetectorDescription
GeoModel
GeoSpecialShapes
src
LArWheelCalculator_Impl
RDBParamRecords.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef __GeoSpecialShapes_LAr_RDBParamRecords_H__
6
#define __GeoSpecialShapes_LAr_RDBParamRecords_H__
7
8
#include "
RDBAccessSvc/IRDBAccessSvc.h
"
9
10
class
RDBParamReader
;
11
15
class
RDBParamRecords
16
{
17
public
:
18
// ???
19
typedef
RDBParamRecords
self_t
;
20
21
RDBParamRecords
(
RDBParamReader
* rdbParAcc,
IRDBRecordset_ptr
initRecSet);
22
RDBParamRecords
(
const
RDBParamRecords
& other);
23
RDBParamRecords
&
operator=
(
const
RDBParamRecords
& other) =
delete
;
24
~RDBParamRecords
();
25
self_t
&
fallback_to
(
const
std::string&
node
,
const
std::string& tag,
const
std::string& tag2node=
""
);
26
const
self_t
&
param
(
unsigned
int
&outval,
const
std::string& name,
unsigned
int
index
=0)
const
;
27
const
self_t
&
param
(
int
&outval,
const
std::string& name,
unsigned
int
index
=0)
const
;
28
const
self_t
&
param
(
double
&outval,
const
std::string& name,
const
double
units=1.0,
unsigned
int
index
=0)
const
;
29
const
self_t
&
param
(std::string &outval,
const
std::string& name,
unsigned
int
index
=0)
const
;
30
31
private
:
32
RDBParamReader
*
m_rdbParAcc
;
33
IRDBRecordset_ptr
m_RecSet
;
34
};
35
36
#endif
// __GeoSpecialShapes_LAr_RDBParamRecords_H__
IRDBAccessSvc.h
Definition of the abstract IRDBAccessSvc interface.
IRDBRecordset_ptr
std::shared_ptr< IRDBRecordset > IRDBRecordset_ptr
Definition
IRDBAccessSvc.h:30
RDBParamReader
Helper class to simplify parameter reading Fully independent from other parts of package.
Definition
RDBParamReader.h:16
RDBParamRecords::RDBParamRecords
RDBParamRecords(RDBParamReader *rdbParAcc, IRDBRecordset_ptr initRecSet)
Definition
RDBParamRecords.cxx:14
RDBParamRecords::m_RecSet
IRDBRecordset_ptr m_RecSet
Definition
RDBParamRecords.h:33
RDBParamRecords::fallback_to
self_t & fallback_to(const std::string &node, const std::string &tag, const std::string &tag2node="")
Definition
RDBParamRecords.cxx:31
RDBParamRecords::param
const self_t & param(unsigned int &outval, const std::string &name, unsigned int index=0) const
Definition
RDBParamRecords.cxx:49
RDBParamRecords::self_t
RDBParamRecords self_t
Definition
RDBParamRecords.h:19
RDBParamRecords::m_rdbParAcc
RDBParamReader * m_rdbParAcc
Definition
RDBParamRecords.h:32
RDBParamRecords::operator=
RDBParamRecords & operator=(const RDBParamRecords &other)=delete
RDBParamRecords::~RDBParamRecords
~RDBParamRecords()
Definition
RDBParamRecords.cxx:27
node
Definition
node.h:24
index
Definition
index.py:1
Generated on
for ATLAS Offline Software by
1.17.0