diff options
Diffstat (limited to 'src/balance.h')
-rw-r--r-- | src/balance.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/balance.h b/src/balance.h index 19b6bd84..6c1475ac 100644 --- a/src/balance.h +++ b/src/balance.h @@ -506,6 +506,9 @@ public: optional<amount_t> commodity_amount(const optional<const commodity_t&>& commodity = none) const; + amounts_map::iterator find_by_name(const commodity_t& comm); + amounts_map::const_iterator find_by_name(const commodity_t& comm) const; + balance_t number() const { balance_t temp; foreach (const amounts_map::value_type& pair, amounts) |