ATLAS Offline Software
Loading...
Searching...
No Matches
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
23using IRDBRecord_ptr = std::unique_ptr<IRDBRecord>;
24using RecordsVector = std::vector<IRDBRecord_ptr>;
25
33
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
Definition of the abstract IRDBRecord interface.
std::vector< IRDBRecord_ptr > RecordsVector
std::unique_ptr< IRDBRecord > IRDBRecord_ptr
IRDBRecord is one record in the IRDBRecordset object.
Definition IRDBRecord.h:27
IRDBRecordset is an abstract interface to the RDB Recordsets, which represent a snapshot of HVS-tagge...
virtual ~IRDBRecordset()=default
RecordsVector::const_iterator const_iterator
virtual const_iterator begin() const =0
virtual const_iterator end() const =0
virtual std::string tagName() const =0
virtual std::string nodeName() const =0
virtual unsigned int size() const =0
virtual const IRDBRecord * operator[](unsigned int index) const =0
Definition index.py:1