FactDev  0.1
Models::Calculable Class Referenceabstract

The Calculable interface Models who are calculable. More...

#include <calculable.h>

Inheritance diagram for Models::Calculable:
Models::Billing Models::ContributoriesList Models::Contributory

Public Member Functions

virtual double getPrice (bool paied=false)=0
 getPrice Return the price of a calculable object More...
 
virtual double getSumQuantity ()=0
 ContributoriesList::getSumQuantity Return the sum of quantity (number of days) of the Contributories. More...
 

Detailed Description

The Calculable interface Models who are calculable.

Member Function Documentation

virtual double Models::Calculable::getPrice ( bool  paied = false)
pure virtual

getPrice Return the price of a calculable object

Returns
The price

Implemented in Models::Billing, Models::Contributory, and Models::ContributoriesList.

virtual double Models::Calculable::getSumQuantity ( )
pure virtual

ContributoriesList::getSumQuantity Return the sum of quantity (number of days) of the Contributories.

Returns
sum of quantity in days

Implemented in Models::Billing, Models::Contributory, and Models::ContributoriesList.


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