Event emitted when an expense occurs.
More...
#include <event.hpp>
Event emitted when an expense occurs.
Definition at line 62 of file event.hpp.
◆ ExpenseEvent()
| financesim::ExpenseEvent::ExpenseEvent |
( |
SimTime |
timestamp, |
|
|
std::string |
source_id, |
|
|
double |
amount, |
|
|
std::string |
category, |
|
|
std::string |
target_account = "" |
|
) |
| |
|
inline |
◆ amount()
| double financesim::ExpenseEvent::amount |
( |
| ) |
const |
|
inline |
◆ category()
| const std::string & financesim::ExpenseEvent::category |
( |
| ) |
const |
|
inline |
◆ target_account()
| const std::string & financesim::ExpenseEvent::target_account |
( |
| ) |
const |
|
inline |
◆ type_name()
| const char * financesim::ExpenseEvent::type_name |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ amount_
| double financesim::ExpenseEvent::amount_ |
|
private |
◆ category_
| std::string financesim::ExpenseEvent::category_ |
|
private |
◆ target_account_
| std::string financesim::ExpenseEvent::target_account_ |
|
private |
The documentation for this class was generated from the following file: