ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
DetectorDescription
GeoModel
GeoSpecialShapes
src
LArWheelCalculator_Impl
RDBParamReader.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
RDBParamReader.h
"
6
#include "
RDBParamRecords.h
"
7
8
// Helper class to simplify parameter reading
9
#include "
RDBAccessSvc/IRDBRecordset.h
"
10
#include "
RDBAccessSvc/IRDBAccessSvc.h
"
11
12
13
RDBParamReader::RDBParamReader
(
IRDBAccessSvc
* rdbAccess)
14
:
m_rdbAccess
(rdbAccess)
15
{
16
}
17
18
RDBParamReader::~RDBParamReader
() {
19
}
20
21
RDBParamRecords
RDBParamReader::data
(
const
std::string&
node
,
22
const
std::string& tag,
23
const
std::string& tag2node)
24
{
25
IRDBRecordset_ptr
recset =
_getRecordsetPtr
(
node
, tag, tag2node);
26
return
RDBParamRecords
(
this
, std::move(recset));
27
}
28
29
IRDBRecordset_ptr
RDBParamReader::_getRecordsetPtr
(
const
std::string&
node
,
30
const
std::string& tag,
31
const
std::string& tag2node)
32
{
33
return
m_rdbAccess
->getRecordsetPtr(
node
, tag, tag2node);
34
}
IRDBAccessSvc.h
Definition of the abstract IRDBAccessSvc interface.
IRDBRecordset_ptr
std::shared_ptr< IRDBRecordset > IRDBRecordset_ptr
Definition
IRDBAccessSvc.h:30
IRDBRecordset.h
Definition of the abstract IRDBRecordset interface.
RDBParamReader.h
RDBParamRecords.h
IRDBAccessSvc
IRDBAccessSvc is an abstract interface to the athena service that provides the following functionalit...
Definition
IRDBAccessSvc.h:45
RDBParamReader::~RDBParamReader
~RDBParamReader()
Definition
RDBParamReader.cxx:18
RDBParamReader::m_rdbAccess
IRDBAccessSvc * m_rdbAccess
Definition
RDBParamReader.h:31
RDBParamReader::_getRecordsetPtr
IRDBRecordset_ptr _getRecordsetPtr(const std::string &node, const std::string &tag, const std::string &tag2node="")
Definition
RDBParamReader.cxx:29
RDBParamReader::data
RDBParamRecords data(const std::string &node, const std::string &tag, const std::string &tag2node="")
Definition
RDBParamReader.cxx:21
RDBParamReader::RDBParamReader
RDBParamReader(IRDBAccessSvc *rdbAccess)
Definition
RDBParamReader.cxx:13
RDBParamRecords
Helper class to simplify parameter reading Fully independent from other parts of package.
Definition
RDBParamRecords.h:16
node
Definition
node.h:24
Generated on
for ATLAS Offline Software by
1.17.0