Classes | |
class | BudgetHealth |
Determines the health of a budget. Currently, when only +/- 5% of the budgeted wage is left it's deemed healthy, +/- 12.5% deemed ailing, and anything else as sick. More... | |
Functions | |
DRN_ADVISER_EXPORT std::ostream & | operator<< (std::ostream &out, const HealthStatuses &hs) |
Full object stream insertion operator. | |
DRN_ADVISER_EXPORT::QString | presentationText (const HealthStatuses &hs) |
Converts the provided health status into a human-readable presentation text. | |
DRN_ADVISER_EXPORT std::ostream & drn::adviser::operator<< | ( | std::ostream & | out, |
const HealthStatuses & | hs ) |
Full object stream insertion operator.
out | The stream to place the data into. |
hs | The data to place into the stream. |
DRN_ADVISER_EXPORT::QString drn::adviser::presentationText | ( | const HealthStatuses & | hs | ) |
Converts the provided health status into a human-readable presentation text.
This method maps a health status into corresponding descriptive text for display, or communication purposes, such as in GUI items or logs. It is helpful when you need a clear textual representation of the health status.
hs | The health status to be converted into presentation text. |