kplato

KPlato::EffortCostMap Class Reference

List of all members.

Detailed Description

Definition at line 64 of file kpteffortcostmap.h.


Public Member Functions

 EffortCostMap ()
 ~EffortCostMap ()
EffortCost effortCost (const QDate &date) const
void insert (const QDate &date, const Duration &effort, const double cost)
EffortCostadd (const QDate &date, const Duration &effort, const double cost)
EffortCostadd (const QDate &date, const EffortCost &ec)
bool isEmpty () const
EffortCostDayMap days () const
EffortCostMapoperator+= (const EffortCostMap &ec)
EffortCosteffortCostOnDate (const QDate &date)
double cost (const QDate &date, int num=7)
double costOnDate (const QDate &date) const
Duration effortOnDate (const QDate &date) const
double totalCost () const
Duration totalEffort () const

Member Function Documentation

EffortCost& KPlato::EffortCostMap::add ( const QDate &  date,
const EffortCost ec 
) [inline]

If data for this date allready exists add the new values to the old, else the new value is inserted.

Definition at line 105 of file kpteffortcostmap.h.

EffortCost& KPlato::EffortCostMap::add ( const QDate &  date,
const Duration effort,
const double  cost 
) [inline]

If data for this date allready exists add the new values to the old, else the new values are inserted.

Definition at line 98 of file kpteffortcostmap.h.

double KPlato::EffortCostMap::cost ( const QDate &  date,
int  num = 7 
) [inline]

Return total cost for the next num days starting at date.

Definition at line 139 of file kpteffortcostmap.h.


The documentation for this class was generated from the following file:
KDE Home | KDE Accessibility Home | Description of Access Keys