Public Member Functions | Protected Attributes | Friends

frepple::utils::TimeLine< type >::EventMaxQuantity Class Reference

A timeline event representing a change of the maximum target. More...

#include <timeline.h>

Inheritance diagram for frepple::utils::TimeLine< type >::EventMaxQuantity:
frepple::utils::TimeLine< type >::Event frepple::utils::NonCopyable

List of all members.

Public Member Functions

 EventMaxQuantity (Date d, double f=0.0)
virtual double getMax (bool inclusive=true) const
virtual unsigned short getType () const
void setMax (double f)

Protected Attributes

EventMaxQuantityprevMax

Friends

class Event
class TimeLine< type >

Detailed Description

template<class type>
class frepple::utils::TimeLine< type >::EventMaxQuantity

A timeline event representing a change of the maximum target.

Definition at line 173 of file timeline.h.


Constructor & Destructor Documentation

template<class type>
frepple::utils::TimeLine< type >::EventMaxQuantity::EventMaxQuantity ( Date  d,
double  f = 0.0 
) [inline]

Definition at line 182 of file timeline.h.


Member Function Documentation

template<class type>
virtual double frepple::utils::TimeLine< type >::EventMaxQuantity::getMax ( bool  inclusive = true  )  const [inline, virtual]

This functions returns the maximum boundary valid at the time of this event.

Reimplemented from frepple::utils::TimeLine< type >::Event.

Definition at line 185 of file timeline.h.

template<class type>
virtual unsigned short frepple::utils::TimeLine< type >::EventMaxQuantity::getType (  )  const [inline, virtual]

Implements frepple::utils::TimeLine< type >::Event.

Definition at line 190 of file timeline.h.

template<class type>
void frepple::utils::TimeLine< type >::EventMaxQuantity::setMax ( double  f  )  [inline]

Definition at line 184 of file timeline.h.


Friends And Related Function Documentation

template<class type>
friend class Event [friend]

Definition at line 175 of file timeline.h.

template<class type>
friend class TimeLine< type > [friend]

Reimplemented from frepple::utils::TimeLine< type >::Event.

Definition at line 176 of file timeline.h.


Member Data Documentation

template<class type>
EventMaxQuantity* frepple::utils::TimeLine< type >::EventMaxQuantity::prevMax [protected]

Definition at line 180 of file timeline.h.


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