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

#include <ScheduleIteration.h>

Public Member Functions

 ScheduleIteration (ScheduleID::size_type const n)
 
 ScheduleIteration (ScheduleID const begin, ScheduleID const end)
 
template<typename F >
void for_each_schedule (F f) const
 

Private Attributes

ScheduleID begin_ {ScheduleID::first()}
 
ScheduleID end_
 

Detailed Description

Definition at line 25 of file ScheduleIteration.h.

Constructor & Destructor Documentation

art::ScheduleIteration::ScheduleIteration ( ScheduleID::size_type const  n)
inlineexplicit

Definition at line 27 of file ScheduleIteration.h.

27 : end_{n} {}
std::void_t< T > n
art::ScheduleIteration::ScheduleIteration ( ScheduleID const  begin,
ScheduleID const  end 
)
inlineexplicit

Definition at line 28 of file ScheduleIteration.h.

29  : begin_{begin}, end_{end}
30  {}
end
while True: pbar.update(maxval-len(onlies[E][S])) #print iS, "/", len(onlies[E][S]) found = False for...
decltype(auto) constexpr begin(T &&obj)
ADL-aware version of std::begin.
Definition: StdUtils.h:72

Member Function Documentation

template<typename F >
void art::ScheduleIteration::for_each_schedule ( f) const
inline

Definition at line 33 of file ScheduleIteration.h.

34  {
35  for (auto sid = begin_; sid < end_; sid = sid.next()) {
36  f(sid);
37  }
38  }
ScheduleID next() const
Definition: ScheduleID.cc:23

Member Data Documentation

ScheduleID art::ScheduleIteration::begin_ {ScheduleID::first()}
private

Definition at line 41 of file ScheduleIteration.h.

ScheduleID art::ScheduleIteration::end_
private

Definition at line 42 of file ScheduleIteration.h.


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