FactDev  0.1
calculable.h
1 #ifndef CALCULABLE_H
2 #define CALCULABLE_H
3 
4 namespace Models {
5 
9 class Calculable
10 {
11 public:
16  virtual double getPrice(bool paied=false) = 0;
17 
23  virtual double getSumQuantity() = 0;
24 
25 };
26 
27 }
28 #endif // CALCULABLE_H
virtual double getPrice(bool paied=false)=0
getPrice Return the price of a calculable object
virtual double getSumQuantity()=0
ContributoriesList::getSumQuantity Return the sum of quantity (number of days) of the Contributories...
The Calculable interface Models who are calculable.
Definition: calculable.h:9