ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
DetectorDescription
IdDict
IdDict
IdDictRangeRef.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef IDDICT_IdDictRangeRef_H
6
#define IDDICT_IdDictRangeRef_H
7
8
#include "
IdDict/IdDictRegionEntry.h
"
9
#include <string>
10
#include <string_view>
11
12
class
IdDictMgr
;
13
class
IdDictDictionary
;
14
class
IdDictRegion
;
15
class
Range
;
16
class
IdDictRange
;
17
18
19
class
IdDictRangeRef
:
public
IdDictRegionEntry
{
20
public
:
21
// ==================================
22
//** @name Constructor/destructor
23
// @{
24
25
IdDictRangeRef
(
IdDictRange
&
range
);
26
virtual
~IdDictRangeRef
() =
default
;
27
28
30
// ==================================
31
//** @name Simple accessors.
32
// @{
33
34
const
IdDictRange
&
range
()
const
;
35
37
// ==================================
38
//** @name Methods used to initialize the object.
39
// @{
40
41
virtual
void
resolve_references
(
IdDictMgr
& idd,
42
IdDictDictionary
& dictionary,
43
IdDictRegion
& region)
override
;
44
virtual
void
generate_implementation
(
const
IdDictMgr
& idd,
45
IdDictDictionary
& dictionary,
46
IdDictRegion
& region,
47
std::string_view tag =
""
)
override
;
48
virtual
void
reset_implementation
()
override
;
49
virtual
bool
verify
()
const override
;
50
virtual
Range
build_range
()
const override
;
51
52
54
55
56
private
:
57
IdDictRange
&
m_range
;
58
};
59
60
61
inline
62
const
IdDictRange
&
IdDictRangeRef::range
()
const
63
{
64
return
m_range
;
65
}
66
67
68
#endif
IdDictRegionEntry.h
IdDictDictionary
Definition
IdDictDictionary.h:33
IdDictMgr
Definition
IdDictMgr.h:17
IdDictRangeRef::verify
virtual bool verify() const override
Definition
IdDictRangeRef.cxx:37
IdDictRangeRef::IdDictRangeRef
IdDictRangeRef(IdDictRange &range)
Definition
IdDictRangeRef.cxx:10
IdDictRangeRef::reset_implementation
virtual void reset_implementation() override
Definition
IdDictRangeRef.cxx:32
IdDictRangeRef::range
const IdDictRange & range() const
Definition
IdDictRangeRef.h:62
IdDictRangeRef::build_range
virtual Range build_range() const override
Definition
IdDictRangeRef.cxx:42
IdDictRangeRef::m_range
IdDictRange & m_range
Definition
IdDictRangeRef.h:57
IdDictRangeRef::resolve_references
virtual void resolve_references(IdDictMgr &idd, IdDictDictionary &dictionary, IdDictRegion ®ion) override
Definition
IdDictRangeRef.cxx:17
IdDictRangeRef::generate_implementation
virtual void generate_implementation(const IdDictMgr &idd, IdDictDictionary &dictionary, IdDictRegion ®ion, std::string_view tag="") override
Definition
IdDictRangeRef.cxx:24
IdDictRangeRef::~IdDictRangeRef
virtual ~IdDictRangeRef()=default
IdDictRange
Definition
IdDictRange.h:19
IdDictRegionEntry::IdDictRegionEntry
IdDictRegionEntry()
IdDictRegion
Definition
IdDictRegion.h:22
Range
A Range describes the possible ranges for the field values of an ExpandedIdentifier.
Definition
DetectorDescription/Identifier/Identifier/Range.h:31
Generated on
for ATLAS Offline Software by
1.17.0