20 <<
"The 'begin' value for an EventRange must be less " 21 <<
"than the 'end' value.\n" 22 <<
" begin: " << b <<
" end: " << e <<
'\n';
30 EventRange::invalid() noexcept
46 return l.is_valid() &&
r.is_valid();
49 EventRange::~EventRange() noexcept =
default;
50 EventRange::EventRange() noexcept =
default;
216 require_ordering(
begin_, e);
225 "EventRange::forSubRun cannot be " 233 os <<
"SubRun: " << r.
subRun();
235 os <<
" (full sub-run)";
237 os <<
" Event range: [" << r.
begin() <<
',' << r.
end() <<
')';
void set_end(EventNumber_t const e)
bool empty() const noexcept
bool is_full_subRun() const noexcept
void require_not_full_SubRun() const
bool operator==(EventRange const &other) const noexcept
unsigned long long size() const noexcept
EventNumber_t end() const noexcept
bool contains(SubRunNumber_t s, EventNumber_t e) const noexcept
std::ostream & operator<<(std::ostream &os, const GroupSelector &gs)
constexpr bool is_valid(IDNumber_t< L > const id) noexcept
bool is_same(EventRange const &other) const noexcept
IDNumber_t< Level::SubRun > SubRunNumber_t
bool is_disjoint(EventRange const &other) const noexcept
bool operator!=(EventRange const &other) const noexcept
bool is_valid() const noexcept
cet::coded_exception< errors::ErrorCodes, ExceptionDetail::translate > Exception
EventNumber_t begin() const noexcept
static bool are_valid(EventRange const &l, EventRange const &r) noexcept
bool is_subset(EventRange const &other) const noexcept
EventRange & operator=(EventRange const &) noexcept
SubRunNumber_t subRun() const noexcept
IDNumber_t< Level::Event > EventNumber_t
bool is_superset(EventRange const &other) const noexcept
bool merge(EventRange const &other)
bool is_adjacent(EventRange const &other) const noexcept
bool operator<(EventRange const &other) const noexcept
bool is_overlapping(EventRange const &other) const noexcept