#include <kpteffortcostmap.h>
Public Member Functions | |
| EffortCost () | |
| EffortCost (const Duration &effort, const double cost) | |
| ~EffortCost () | |
| Duration | effort () const |
| double | cost () const |
| void | setCost (double cost) |
| void | add (const Duration &effort, const double cost) |
| EffortCost & | operator+= (const EffortCost &ec) |
Private Attributes | |
| Duration | m_effort |
| double | m_cost |
Definition at line 33 of file kpteffortcostmap.h.
| KPlato::EffortCost::EffortCost | ( | ) | [inline] |
Definition at line 36 of file kpteffortcostmap.h.
| KPlato::EffortCost::EffortCost | ( | const Duration & | effort, | |
| const double | cost | |||
| ) | [inline] |
Definition at line 40 of file kpteffortcostmap.h.
| KPlato::EffortCost::~EffortCost | ( | ) | [inline] |
Definition at line 45 of file kpteffortcostmap.h.
| Duration KPlato::EffortCost::effort | ( | ) | const [inline] |
Definition at line 48 of file kpteffortcostmap.h.
References m_effort.
Referenced by add(), and operator+=().
| double KPlato::EffortCost::cost | ( | ) | const [inline] |
Definition at line 49 of file kpteffortcostmap.h.
References m_cost.
Referenced by KPlato::AccountsView::AccountItem::add(), operator+=(), and KPlato::AccountsView::slotUpdate().
| void KPlato::EffortCost::setCost | ( | double | cost | ) | [inline] |
| void KPlato::EffortCost::add | ( | const Duration & | effort, | |
| const double | cost | |||
| ) | [inline] |
Definition at line 51 of file kpteffortcostmap.h.
References effort(), m_cost, and m_effort.
Referenced by operator+=().
| EffortCost& KPlato::EffortCost::operator+= | ( | const EffortCost & | ec | ) | [inline] |
Duration KPlato::EffortCost::m_effort [private] |
double KPlato::EffortCost::m_cost [private] |
1.5.1-p1