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

A timeline event representing a change of the current value. More...

#include <timeline.h>

Inheritance diagram for frepple::utils::TimeLine< type >::EventChangeOnhand:

Public Member Functions

 EventChangeOnhand (double qty=0.0)
 
double getQuantity () const
 
virtual unsigned short getType () const
 
- Public Member Functions inherited from frepple::utils::TimeLine< type >::Event
double getCumulativeConsumed () const
 
double getCumulativeProduced () const
 
const DategetDate () const
 
virtual double getMax (bool inclusive=true) const
 
virtual double getMin (bool inclusive=true) const
 
double getOnhand () const
 
virtual TimeLine< type > * getTimeLine () const
 
bool operator< (const Event &fl2) const
 
virtual ~Event ()
 

Friends

class TimeLine< type >
 

Additional Inherited Members

- Protected Member Functions inherited from frepple::utils::TimeLine< type >::Event
 Event ()
 
- Protected Attributes inherited from frepple::utils::TimeLine< type >::Event
double cum_prod
 
Date dt
 
Eventnext
 
double oh
 
Eventprev
 

Detailed Description

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

A timeline event representing a change of the current value.

Definition at line 135 of file timeline.h.

Constructor & Destructor Documentation

template<class type>
frepple::utils::TimeLine< type >::EventChangeOnhand::EventChangeOnhand ( double  qty = 0.0)
inline

Definition at line 142 of file timeline.h.

Member Function Documentation

template<class type>
double frepple::utils::TimeLine< type >::EventChangeOnhand::getQuantity ( ) const
inlinevirtual

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

Definition at line 141 of file timeline.h.

template<class type>
virtual unsigned short frepple::utils::TimeLine< type >::EventChangeOnhand::getType ( ) const
inlinevirtual

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

Definition at line 143 of file timeline.h.

Friends And Related Function Documentation

template<class type>
friend class TimeLine< type >
friend

Definition at line 137 of file timeline.h.


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