frepple::CalendarDouble::EventIterator Class Reference

A special event iterator, providing also access to the current value. More...

#include <model.h>

Inheritance diagram for frepple::CalendarDouble::EventIterator:

List of all members.

Public Member Functions

 EventIterator (const Calendar *c, Date d=Date::infinitePast, bool f=true)
double getValue ()
- Public Member Functions inherited from frepple::Calendar::EventIterator
const BucketgetBucket () const
const CalendargetCalendar () const
const DategetDate () const
EventIteratoroperator++ ()
EventIterator operator++ (int)
EventIteratoroperator-- ()
EventIterator operator-- (int)

Additional Inherited Members

- Protected Attributes inherited from frepple::Calendar::EventIterator
const BucketcurBucket
Date curDate
int curPriority
const BucketlastBucket
int lastPriority
const CalendartheCalendar

Detailed Description

A special event iterator, providing also access to the current value.

Definition at line 502 of file model.h.


Constructor & Destructor Documentation

frepple::CalendarDouble::EventIterator::EventIterator ( const Calendar c,
Date  d = Date::infinitePast,
bool  f = true 
)
inline

Constructor.

Reimplemented from frepple::Calendar::EventIterator.

Definition at line 506 of file model.h.


Member Function Documentation

double frepple::CalendarDouble::EventIterator::getValue ( )
inline

Return the current value of the iterator at this date.

Definition at line 510 of file model.h.


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