Flow123d
last_with_con_2.0.0-4-g42e6930
|
Iterator over TimeMark objects in TimeMarks object (database of TimeMark objects). More...
#include <time_marks.hh>
Public Member Functions | |
TimeMarksIterator (const std::vector< TimeMark > &marks, const std::vector< TimeMark >::const_iterator &it, const TimeMark::Type &mask) | |
TimeMarksIterator & | operator= (const TimeMarksIterator &it) |
TimeMarksIterator & | operator++ () |
Prefix increment. Skip non matching marks. More... | |
TimeMarksIterator & | operator-- () |
Prefix decrement. Skip non matching marks. More... | |
const TimeMark & | operator* () const |
const TimeMark * | operator-> () const |
-> dereference operator More... | |
bool | operator== (const TimeMarksIterator &other) const |
bool | operator!= (const TimeMarksIterator &other) const |
TimeMark::Type | mask () |
Returns mask. More... | |
Private Attributes | |
const std::vector< TimeMark > & | marks_ |
Reference to the vector of TimeMark objects. More... | |
std::vector< TimeMark >::const_iterator | it_ |
Iterator over the vector of TimeMark objects. More... | |
TimeMark::Type | mask_ |
Mask type. More... | |
Iterator over TimeMark objects in TimeMarks object (database of TimeMark objects).
Iterator over the TimeMarks of particular mask. This is always const iterator, i.e. it points to const TimeMark. While iterating over TimeMarks with different types, all non matching types are skipped.
Definition at line 302 of file time_marks.hh.
|
inline |
|
inline |
Returns mask.
Definition at line 360 of file time_marks.hh.
|
inline |
Definition at line 356 of file time_marks.hh.
|
inline |
Definition at line 340 of file time_marks.hh.
|
inline |
Prefix increment. Skip non matching marks.
Definition at line 320 of file time_marks.hh.
|
inline |
Prefix decrement. Skip non matching marks.
Definition at line 330 of file time_marks.hh.
|
inline |
-> dereference operator
Definition at line 347 of file time_marks.hh.
|
inline |
Definition at line 312 of file time_marks.hh.
|
inline |
Definition at line 353 of file time_marks.hh.
|
private |
Iterator over the vector of TimeMark objects.
Definition at line 367 of file time_marks.hh.
|
private |
Reference to the vector of TimeMark objects.
Definition at line 365 of file time_marks.hh.
|
private |
Mask type.
Definition at line 369 of file time_marks.hh.