14 constexpr
auto invalid_eid [[maybe_unused]] =
20 ClosedRangeSetHandler::EventInfo::EventInfo() noexcept = default;
21 ClosedRangeSetHandler::EventInfo::EventInfo(EventInfo const& rhs) noexcept =
24 ClosedRangeSetHandler::EventInfo::EventInfo(EventInfo&& rhs) noexcept =
27 ClosedRangeSetHandler::EventInfo& ClosedRangeSetHandler::EventInfo::operator=(
28 EventInfo const& rhs) noexcept = default;
30 ClosedRangeSetHandler::EventInfo& ClosedRangeSetHandler::EventInfo::operator=(
31 EventInfo&& rhs) noexcept = default;
156 if (split_range.second) {
159 idx_ = split_range.first;
169 std::swap(*
this,
tmp);
void do_maybeSplitRange() override
std::pair< std::size_t, bool > split_range(SubRunNumber_t, EventNumber_t)
HandlerType do_type() const override
static constexpr type invalid() noexcept
ClosedRangeSetHandler(RangeSet const &inputRangeSet)
bool contains(SubRunNumber_t s, EventNumber_t e) const noexcept
std::size_t end_idx() const
ClosedRangeSetHandler & operator=(ClosedRangeSetHandler const &)
void do_flushRanges() override
bool lastInSubRun() const
EventID const & id() const
std::size_t begin_idx() const
std::size_t end_idx() const
std::vector< EventRange > extract_ranges(std::size_t const b, std::size_t const e)
RangeSet do_getSeenRanges() const override
void set(EventID const &eid, bool const last)
EventInfo const & eventInfo() const
void do_update(EventID const &, bool lastInSubRun) override
void do_rebase() override
virtual ~ClosedRangeSetHandler()
EventNumber_t event() const
RangeSetHandler * do_clone() const override
std::size_t next_subrun_or_end(std::size_t const b) const
EventRange & at(std::size_t)
SubRunNumber_t subRun() const
Event finding and building.
std::size_t begin_idx() const