ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Database
RDBAccessSvc
RDBAccessSvc
IRDBRecordset.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3
*/
4
14
15
#ifndef RDBACCESSSVC_IRDBRECORDSET_H
16
#define RDBACCESSSVC_IRDBRECORDSET_H
17
18
#include <string>
19
#include <vector>
20
#include <memory>
21
22
#include "
RDBAccessSvc/IRDBRecord.h
"
23
using
IRDBRecord_ptr
= std::unique_ptr<IRDBRecord>;
24
using
RecordsVector
= std::vector<IRDBRecord_ptr>;
25
33
34
class
IRDBRecordset
35
{
36
public
:
37
virtual
~IRDBRecordset
() =
default
;
38
40
virtual
unsigned
int
size
()
const
= 0;
41
43
virtual
std::string
nodeName
()
const
= 0;
44
46
virtual
std::string
tagName
()
const
= 0;
47
50
virtual
const
IRDBRecord
*
operator[]
(
unsigned
int
index
)
const
= 0;
51
52
typedef
RecordsVector::const_iterator
const_iterator
;
53
55
virtual
const_iterator
begin
()
const
=0;
56
58
virtual
const_iterator
end
()
const
=0;
59
60
};
61
62
#endif
IRDBRecord.h
Definition of the abstract IRDBRecord interface.
RecordsVector
std::vector< IRDBRecord_ptr > RecordsVector
Definition
IRDBRecordset.h:24
IRDBRecord_ptr
std::unique_ptr< IRDBRecord > IRDBRecord_ptr
Definition
IRDBRecordset.h:23
IRDBRecord
IRDBRecord is one record in the IRDBRecordset object.
Definition
IRDBRecord.h:28
IRDBRecordset
IRDBRecordset is an abstract interface to the RDB Recordsets, which represent a snapshot of HVS-tagge...
Definition
IRDBRecordset.h:35
IRDBRecordset::~IRDBRecordset
virtual ~IRDBRecordset()=default
IRDBRecordset::const_iterator
RecordsVector::const_iterator const_iterator
Definition
IRDBRecordset.h:52
IRDBRecordset::begin
virtual const_iterator begin() const =0
IRDBRecordset::end
virtual const_iterator end() const =0
IRDBRecordset::tagName
virtual std::string tagName() const =0
IRDBRecordset::nodeName
virtual std::string nodeName() const =0
IRDBRecordset::size
virtual unsigned int size() const =0
IRDBRecordset::operator[]
virtual const IRDBRecord * operator[](unsigned int index) const =0
index
Definition
index.py:1
Generated on
for ATLAS Offline Software by
1.17.0