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

Identifies a budget item by its type and source. The structure is used to uniquely represent a budget item by combining its type (e.g., bill, debt, wage) and its source information. More...

#include <BudgetItemIdentifier.h>

Collaboration diagram for drn::budgeting::BudgetItemIdentifier:

Public Member Functions

std::strong_ordering operator<=> (const BudgetItemIdentifier &rhs) const noexcept=default
 

Public Attributes

BudgetSource source_ {}
 Represents the source information of a budget item.
 
BudgetItemTypes type_ {BudgetItemTypes::Unknown}
 Represents the type of a budget item.
 

Detailed Description

Identifies a budget item by its type and source. The structure is used to uniquely represent a budget item by combining its type (e.g., bill, debt, wage) and its source information.

Member Function Documentation

◆ operator<=>()

std::strong_ordering drn::budgeting::BudgetItemIdentifier::operator<=> ( const BudgetItemIdentifier & rhs) const
nodiscarddefaultnoexcept

Member Data Documentation

◆ source_

BudgetSource drn::budgeting::BudgetItemIdentifier::source_ {}

Represents the source information of a budget item.

◆ type_

BudgetItemTypes drn::budgeting::BudgetItemIdentifier::type_ {BudgetItemTypes::Unknown}

Represents the type of a budget item.