32 #ifndef GNC_ACCOUNT_HPP 33 #define GNC_ACCOUNT_HPP 40 using SplitsVec = std::vector<Split*>;
41 using AccountVec = std::vector<Account*>;
43 const SplitsVec& xaccAccountGetSplits (
const Account*);
45 void gnc_account_foreach_descendant (
const Account *, std::function<
void(
Account*)> func);
47 void gnc_account_foreach_split (
const Account*, std::function<
void(Split*)>,
bool);
49 void gnc_account_foreach_split_until_date (
const Account *acc,
time64 end_date,
50 std::function<
void(Split*)> f);
Account handling public routines.
Split * gnc_account_find_split(const Account *, std::function< bool(const Split *)>, bool)
scans account split list (in forward or reverse order) until predicate split->bool returns true...
gint64 time64
Most systems that are currently maintained, including Microsoft Windows, BSD-derived Unixes and Linux...