An iterator class to go through all dates where the calendar value changes. More...
#include <model.h>
Public Member Functions | |
EventIterator (const Calendar *c=NULL, Date d=Date::infinitePast, bool forward=true) | |
const Bucket * | getBucket () const |
const Calendar * | getCalendar () const |
const Date & | getDate () const |
EventIterator & | operator++ () |
EventIterator | operator++ (int) |
EventIterator & | operator-- () |
EventIterator | operator-- (int) |
Protected Attributes | |
const Bucket * | curBucket |
Date | curDate |
int | curPriority |
const Bucket * | lastBucket |
int | lastPriority |
const Calendar * | theCalendar |
Friends | |
class | Calendar::Bucket |
An iterator class to go through all dates where the calendar value changes.
|
inline |
|
inline |
|
inline |
Calendar::EventIterator & frepple::Calendar::EventIterator::operator++ | ( | ) |
Definition at line 548 of file calendar.cpp.
|
inline |
Calendar::EventIterator & frepple::Calendar::EventIterator::operator-- | ( | ) |
Definition at line 566 of file calendar.cpp.
|
inline |
|
friend |
|
protected |
|
protected |
|
protected |
|
protected |