Classes | Public Member Functions | Private Member Functions | Private Attributes | List of all members
art::ClosedRangeSetHandler Class Reference

#include "/cvmfs/nova.opensciencegrid.org/externals/art/v2_13_00/source/art/Framework/Principal/ClosedRangeSetHandler.h"

Inheritance diagram for art::ClosedRangeSetHandler:
art::RangeSetHandler

Classes

struct  EventInfo
 

Public Member Functions

 ClosedRangeSetHandler (RangeSet const &inputRangeSet)
 
 ClosedRangeSetHandler (ClosedRangeSetHandler const &)=delete
 
ClosedRangeSetHandleroperator= (ClosedRangeSetHandler const &)=delete
 
 ClosedRangeSetHandler (ClosedRangeSetHandler &&)=default
 
ClosedRangeSetHandleroperator= (ClosedRangeSetHandler &&)=default
 
RangeSet seenRanges () const
 
void update (EventID const &id, bool const lastInSubRun)
 
void flushRanges ()
 
void maybeSplitRange ()
 
void rebase ()
 

Private Member Functions

auto begin () const
 
auto end () const
 
RangeSet::const_iterator next_subrun_or_end () const
 
RangeSet do_getSeenRanges () const override
 
void do_update (EventID const &, bool lastInSubRun) override
 
void do_flushRanges () override
 
void do_maybeSplitRange () override
 
void do_rebase () override
 

Private Attributes

RangeSet ranges_ {RangeSet::invalid()}
 
RangeSet::const_iterator rsIter_ {ranges_.begin()}
 
EventInfo eventInfo_ {}
 

Detailed Description

Definition at line 47 of file ClosedRangeSetHandler.h.

Constructor & Destructor Documentation

art::ClosedRangeSetHandler::ClosedRangeSetHandler ( RangeSet const &  inputRangeSet)
explicit
art::ClosedRangeSetHandler::ClosedRangeSetHandler ( ClosedRangeSetHandler const &  )
delete
art::ClosedRangeSetHandler::ClosedRangeSetHandler ( ClosedRangeSetHandler &&  )
default

Member Function Documentation

auto art::ClosedRangeSetHandler::begin ( ) const
inlineprivate

Definition at line 61 of file ClosedRangeSetHandler.h.

References art::RangeSet::begin(), and ranges_.

62  {
63  return ranges_.begin();
64  }
auto begin() const
Definition: RangeSet.h:70
void art::ClosedRangeSetHandler::do_flushRanges ( )
overrideprivatevirtual

Implements art::RangeSetHandler.

Referenced by end().

RangeSet art::ClosedRangeSetHandler::do_getSeenRanges ( ) const
overrideprivatevirtual

Implements art::RangeSetHandler.

Referenced by end().

void art::ClosedRangeSetHandler::do_maybeSplitRange ( )
overrideprivatevirtual

Implements art::RangeSetHandler.

Referenced by end().

void art::ClosedRangeSetHandler::do_rebase ( )
overrideprivatevirtual

Implements art::RangeSetHandler.

Referenced by end().

void art::ClosedRangeSetHandler::do_update ( EventID const &  ,
bool  lastInSubRun 
)
overrideprivatevirtual

Implements art::RangeSetHandler.

Referenced by end().

auto art::ClosedRangeSetHandler::end ( ) const
inlineprivate
void art::RangeSetHandler::flushRanges ( )
inlineinherited

Definition at line 29 of file RangeSetHandler.h.

References art::RangeSetHandler::do_flushRanges().

30  {
32  }
virtual void do_flushRanges()=0
void art::RangeSetHandler::maybeSplitRange ( )
inlineinherited

Definition at line 34 of file RangeSetHandler.h.

References art::RangeSetHandler::do_maybeSplitRange().

35  {
37  }
virtual void do_maybeSplitRange()=0
RangeSet::const_iterator art::ClosedRangeSetHandler::next_subrun_or_end ( ) const
private

Referenced by end().

ClosedRangeSetHandler& art::ClosedRangeSetHandler::operator= ( ClosedRangeSetHandler const &  )
delete
ClosedRangeSetHandler& art::ClosedRangeSetHandler::operator= ( ClosedRangeSetHandler &&  )
default
void art::RangeSetHandler::rebase ( )
inlineinherited
RangeSet art::RangeSetHandler::seenRanges ( ) const
inlineinherited

Definition at line 17 of file RangeSetHandler.h.

References art::RangeSetHandler::do_getSeenRanges().

18  {
19  return do_getSeenRanges();
20  }
virtual RangeSet do_getSeenRanges() const =0
void art::RangeSetHandler::update ( EventID const &  id,
bool const  lastInSubRun 
)
inlineinherited

Definition at line 23 of file RangeSetHandler.h.

References art::RangeSetHandler::do_update().

24  {
25  do_update(id, lastInSubRun);
26  }
virtual void do_update(EventID const &, bool lastInSubRun)=0

Member Data Documentation

EventInfo art::ClosedRangeSetHandler::eventInfo_ {}
private

Definition at line 93 of file ClosedRangeSetHandler.h.

RangeSet art::ClosedRangeSetHandler::ranges_ {RangeSet::invalid()}
private

Definition at line 91 of file ClosedRangeSetHandler.h.

Referenced by begin(), and end().

RangeSet::const_iterator art::ClosedRangeSetHandler::rsIter_ {ranges_.begin()}
private

Definition at line 92 of file ClosedRangeSetHandler.h.


The documentation for this class was generated from the following file: