|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef IDENTIFIER_RANGE_H
6 #define IDENTIFIER_RANGE_H
137 void show (std::ostream&
s)
const;
140 operator std::string ()
const;
159 if (
m_fields.size () == 0)
return (
true);
void clear()
Modifications.
bool operator==(const Range &other) const
ExpandedIdentifier::size_type size_type
int match(const ExpandedIdentifier &id) const
Match an identifier.
ExpandedIdentifier maximum() const
std::ostream & operator<<(std::ostream &out, const Range &r)
ExpandedIdentifier minimum() const
min and max ExpandedIdentifiers (if they exist, ie.
std::istream & operator>>(std::istream &in, Range &r)
boost::container::small_vector< element_type, 12 >::size_type size_type
const field & operator[](size_type index) const
Access the field elements.
A Range describes the possible ranges for the field values of an ExpandedIdentifier.
void add()
Add a wild card field.
std::vector< field > field_vector
This is the individual specification for the range of one ExpandedIdentifier IdentifierField.
bool overlaps_with(const Range &other) const
Check if two Ranges overlap.
size_type cardinality() const
Computes a possible cardinality :
void build(const std::string &text)
Build Range from a textual description.
ExpandedIdentifier::element_type element_type
size_type cardinalityUpTo(const ExpandedIdentifier &id) const
Get the cardinality from the beginning up to the given ExpandedIdentifier.