Go to the documentation of this file.
41 #ifndef scalarRanges_H
42 #define scalarRanges_H
58 public List<scalarRange>
73 const std::string& str,
84 const std::string& str,
93 inline bool match(
const scalar& value)
const;
99 inline bool operator()(
const scalar& value)
const;
A collection of scalar bounds to be used as a unary predicate.
static scalarRanges parse(const std::string &str, bool report=true)
Construct by parsing string for scalar ranges.
constexpr scalarRanges() noexcept=default
Default construct.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
bool match(const scalar &value) const
Match any condition in the list.
bool operator()(const scalar &value) const
Use match() as a predicate.