DuxReiNummariae 1.0.0-alpha.23
Simple and powerful budgeting application
 
Loading...
Searching...
No Matches
drn::budgeting::BudgetTotals Struct Reference

Calculates the totals for all budgetary items for a given period. More...

#include <Budget.h>

Collaboration diagram for drn::budgeting::BudgetTotals:

Public Member Functions

 BudgetTotals (const Budget &budget, const pecunia::Currency &currency, 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.
 

Detailed Description

Calculates the totals for all budgetary items for a given period.

Constructor & Destructor Documentation

◆ BudgetTotals()

drn::budgeting::BudgetTotals::BudgetTotals ( const Budget & budget,
const pecunia::Currency & currency,
const EventFrequency period )

Constructor for calculating the totals.

Parameters
budgetThe budget from which all totals come from.
currencyThe currency the totals should be calculated in.
periodThe frequency for which the total should be calculated in.

Member Data Documentation

◆ bills_

const pecunia::Money drn::budgeting::BudgetTotals::bills_

The total of all the bills for the requested period.

◆ debts_

const pecunia::Money drn::budgeting::BudgetTotals::debts_

The total of all the debts for the requested period.

◆ goals_

const pecunia::Money drn::budgeting::BudgetTotals::goals_

The total of all the goals for the requested period.

◆ nontrack_

const pecunia::Money drn::budgeting::BudgetTotals::nontrack_

The total of all the nontrack spending for the requested period.

◆ period_

const EventFrequency drn::budgeting::BudgetTotals::period_

The frequency period all totals are calculated to.

◆ remaining_

const pecunia::Money drn::budgeting::BudgetTotals::remaining_

The total of money remaining after all the incoming and outgoing monies are calculated for the period.

◆ wage_

const pecunia::Money drn::budgeting::BudgetTotals::wage_

The total of all the wage for the requested period.