 |
ATLAS Offline Software
|
Go to the documentation of this file.
17 : m_field_name (field_name)
24 const std::string&
label)
25 : m_field_name (field_name)
34 : m_field_name (field_name)
42 int minvalue,
int maxvalue)
43 : m_field_name (field_name)
51 const std::vector<int>&
values)
52 : m_field_name (field_name)
60 const std::vector<std::string>&
labels)
61 : m_field_name (field_name)
188 std::cout <<
"IdDictRange::generate_implementation>" << std::endl;
192 impl.set_range(
this);
199 <<
" region #" << region.
index()
201 <<
" tag " << region.
tag()
208 std::cout <<
"IdDictRange::generate_implementation: index >= impl size - "
virtual void generate_implementation(const IdDictMgr &idd, IdDictDictionary &dictionary, IdDictRegion ®ion, const std::string &tag="") override
void set_index(size_t index)
void set_prev(int prev)
Set previous value and adjust continuation mode.
const std::string & get_label(size_t index) const
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 std::string & tag() const
const IdDictField * field() const
IdDictFieldImplementation & new_implementation()
Add a new implementation object and return a reference to it.
const std::vector< int > & values() const
size_t get_label_number() const
const std::string & label() const
size_t n_implementation() const
ExpandedIdentifier::element_type get_label_value(const std::string &name) const
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
This is the individual specification for the range of one ExpandedIdentifier IdentifierField.
IdDictFieldImplementation is used to capture the specification of a single field of an Identifier.
virtual std::string group_name() const override
std::vector< int > m_values