KPlato::EffortCost Class Reference

#include <kpteffortcostmap.h>

List of all members.

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)
EffortCostoperator+= (const EffortCost &ec)

Private Attributes

Duration m_effort
double m_cost


Detailed Description

Definition at line 33 of file kpteffortcostmap.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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]

Definition at line 50 of file kpteffortcostmap.h.

References m_cost.

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]

Definition at line 55 of file kpteffortcostmap.h.

References add(), cost(), and effort().


Member Data Documentation

Duration KPlato::EffortCost::m_effort [private]

Definition at line 60 of file kpteffortcostmap.h.

Referenced by add(), and effort().

double KPlato::EffortCost::m_cost [private]

Definition at line 61 of file kpteffortcostmap.h.

Referenced by add(), cost(), and setCost().


The documentation for this class was generated from the following file:
Generated on Wed Nov 22 23:21:49 2006 for KPlato by  doxygen 1.5.1-p1