teditor
1.8.0@@fee5e94
Terminal based editor written in C++
|
Go to the documentation of this file.
12 Parser(
const std::string& f);
43 void parse(
const std::string& f);
Accounts topAccounts(bool sort=true) const
Computes balances of only the top-level accounts. Top-level account is the account name that preceeds...
Definition: ledger/parser.cpp:134
const Accounts & accounts() const
Definition: ledger/parser.h:16
const Transactions & transactions() const
Definition: ledger/parser.h:15
void minmaxDates(TimePoint &min, TimePoint &max) const
Definition: ledger/parser.cpp:177
void reload()
Definition: ledger/parser.cpp:128
std::chrono::system_clock::time_point TimePoint
Definition: time_utils.h:7
std::vector< Transaction > Transactions
Definition: ledger/objects.h:110
Definition: ledger/objects.h:52
Definition: ledger/parser.h:10
Accounts allAccounts(bool sort=true) const
Computes balances of the top-level accounts as well as all accounts.
Definition: ledger/parser.cpp:149
Parser(const std::string &f)
Definition: ledger/parser.cpp:42