|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef IDENTIFIER_MULTIRANGE_H
6 #define IDENTIFIER_MULTIRANGE_H
39 using id_vec = std::vector<ExpandedIdentifier>;
61 using id_vec = std::vector<ExpandedIdentifier>;
123 void show (std::ostream&
s)
const;
125 operator std::string ()
const;
130 using id_vec = std::vector<ExpandedIdentifier>;
JetConstituentVector::iterator iterator
bool operator==(const const_identifier_factory &other) const
ConstRangeIterator m_id_fac_it
const Range & operator[](size_type index) const
Accessors.
bool operator==(const identifier_factory &other) const
std::vector< ExpandedIdentifier > id_vec
identifier_factory factory_begin()
identifier_factory factory_end()
void add(const Range &range)
ConstRangeIterator m_id_fac_end
std::vector< Range > range_vector
size_type cardinalityUpTo(const ExpandedIdentifier &id) const
id_vec::const_iterator id_const_iterator
ExpandedIdentifier::size_type size_type
range_vector::const_iterator m_range_it
ExpandedIdentifier::element_type element_type
This factory is able to generate all possible identifiers, from a fully bounded Range.
range_vector::const_iterator m_range_it
std::vector< ExpandedIdentifier > id_vec
range_vector::const_iterator m_range_end
id_vec::iterator id_iterator
ConstRangeIterator m_id_fac_end
void remove_range(const ExpandedIdentifier &id)
Remove a Range made from a single ExpandedIdentifier.
const_identifier_factory()=default
const_iterator begin() const
identifier_factory()=default
boost::container::small_vector< element_type, 12 >::size_type size_type
Range & back()
Get the last entered Range.
bool has_overlap() const
Check if there are overlaps between any couple of Ranges.
A MultiRange combines several Ranges.
A Range describes the possible ranges for the field values of an ExpandedIdentifier.
ConstRangeIterator m_id_fac_it
id_vec::const_iterator id_const_iterator
range_vector::const_iterator const_iterator
int match(const ExpandedIdentifier &id) const
Match an identifier.
const ExpandedIdentifier & operator*() const
const_iterator end() const
id_vec::iterator id_iterator
range_vector::const_iterator m_range_end
const ExpandedIdentifier & operator*() const
size_type cardinality() const
Computes a possible cardinality from all ranges.
std::vector< ExpandedIdentifier > id_vec