diff options
author | John Wiegley <johnw@newartisans.com> | 2008-07-31 05:05:24 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-07-31 05:05:24 -0400 |
commit | 8afd926a27af55862ce360970e05d747f249a0da (patch) | |
tree | 3d93c3bedca21da06681bf9868fa3b94ac5050af /amount.cc | |
parent | 8276b51f5692796bfdf75dd64f709e0de1c7caaf (diff) | |
download | fork-ledger-8afd926a27af55862ce360970e05d747f249a0da.tar.gz fork-ledger-8afd926a27af55862ce360970e05d747f249a0da.tar.bz2 fork-ledger-8afd926a27af55862ce360970e05d747f249a0da.zip |
Cleaned up some method names and documentation relating to values.
Diffstat (limited to 'amount.cc')
-rw-r--r-- | amount.cc | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -778,7 +778,7 @@ bool amount_t::fits_in_long() const } -void amount_t::annotate_commodity(const annotation_t& details) +void amount_t::annotate(const annotation_t& details) { commodity_t * this_base; annotated_commodity_t * this_ann = NULL; @@ -810,7 +810,7 @@ void amount_t::annotate_commodity(const annotation_t& details) DEBUG("amounts.commodities", " Annotated amount is " << *this); } -bool amount_t::commodity_annotated() const +bool amount_t::annotated() const { if (! quantity) throw_(amount_error, @@ -820,7 +820,7 @@ bool amount_t::commodity_annotated() const return commodity().annotated; } -annotation_t& amount_t::annotation_details() +annotation_t& amount_t::annotation() { if (! quantity) throw_(amount_error, |