|
DuxReiNummariae 1.1.0-alpha.19
Simple and powerful budgeting application
|
Calculates the totals for all budgetary items for a given period. More...
#include <Budget.hpp>
Public Member Functions | |
| BudgetTotals (const Budget &budget, const pecunia::Currency ¤cy, const EventFrequency period) | |
| Constructor for calculating the totals. | |
Public Attributes | |
| const pecunia::Money | bills_ |
| The total of all the bills for the requested period. | |
| const pecunia::Money | debts_ |
| The total of all the debts for the requested period. | |
| const pecunia::Money | goals_ |
| The total of all the goals for the requested period. | |
| const pecunia::Money | nontrack_ |
| The total of all the nontrack spending for the requested period. | |
| const EventFrequency | period_ |
| The frequency period all totals are calculated to. | |
| const pecunia::Money | remaining_ |
| const pecunia::Money | wage_ |
| The total of all the wage for the requested period. | |
Calculates the totals for all budgetary items for a given period.
| drn::budgeting::BudgetTotals::BudgetTotals | ( | const Budget & | budget, |
| const pecunia::Currency & | currency, | ||
| const EventFrequency | period ) |
Constructor for calculating the totals.
| budget | The budget from which all totals come from. |
| currency | The currency the totals should be calculated in. |
| period | The frequency for which the total should be calculated in. |
| const pecunia::Money drn::budgeting::BudgetTotals::bills_ |
The total of all the bills for the requested period.
| const pecunia::Money drn::budgeting::BudgetTotals::debts_ |
The total of all the debts for the requested period.
| const pecunia::Money drn::budgeting::BudgetTotals::goals_ |
The total of all the goals for the requested period.
| const pecunia::Money drn::budgeting::BudgetTotals::nontrack_ |
The total of all the nontrack spending for the requested period.
| const EventFrequency drn::budgeting::BudgetTotals::period_ |
The frequency period all totals are calculated to.
| const pecunia::Money drn::budgeting::BudgetTotals::remaining_ |
The total of money remaining after all the incoming and outgoing monies are calculated for the period.
| const pecunia::Money drn::budgeting::BudgetTotals::wage_ |
The total of all the wage for the requested period.