ATLAS Offline Software
Loading...
Searching...
No Matches
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
11
12
14 : m_rdbAccess(rdbAccess)
15{
16}
17
20
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
30 const std::string& tag,
31 const std::string& tag2node)
32{
33 return m_rdbAccess->getRecordsetPtr(node, tag, tag2node);
34}
Definition of the abstract IRDBAccessSvc interface.
std::shared_ptr< IRDBRecordset > IRDBRecordset_ptr
Definition of the abstract IRDBRecordset interface.
IRDBAccessSvc is an abstract interface to the athena service that provides the following functionalit...
IRDBAccessSvc * m_rdbAccess
IRDBRecordset_ptr _getRecordsetPtr(const std::string &node, const std::string &tag, const std::string &tag2node="")
RDBParamRecords data(const std::string &node, const std::string &tag, const std::string &tag2node="")
RDBParamReader(IRDBAccessSvc *rdbAccess)
Helper class to simplify parameter reading Fully independent from other parts of package.
Definition node.h:24