 |
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef IDDICT_IdDictRange_H
6 #define IDDICT_IdDictRange_H
58 const std::vector<std::string>&
labels);
69 const std::string&
label()
const;
72 const std::vector<int>&
values()
const;
73 const std::vector<std::string>&
labels()
const;
88 void set_range (
int minvalue,
int maxvalue);
114 const std::string&
tag =
"")
override;
virtual void generate_implementation(const IdDictMgr &idd, IdDictDictionary &dictionary, IdDictRegion ®ion, const std::string &tag="") override
void set_prev(int prev)
Set previous value and adjust continuation mode.
virtual void resolve_references(const IdDictMgr &idd, IdDictDictionary &dictionary, IdDictRegion ®ion) override
virtual Range build_range() const override
void set_wrap_around()
Enable wraparound.
void set_next(int next)
Set next value and adjust continuation mode.
specification_type m_specification
const IdDictField * field() const
const std::vector< int > & values() const
const std::string & label() const
virtual ~IdDictRange()=default
std::vector< std::string > m_labels
A Range describes the possible ranges for the field values of an ExpandedIdentifier.
continuation_mode m_continuation_mode
void set_range(const std::string &label)
By label.
const std::vector< std::string > & labels() const
IdDictRange(const std::string &field_name)
Set name only; no range information.
bool m_resolved_references
specification_type specification() const
const std::string & field_name() const
std::vector< int > m_values