diff options
author | John Wiegley <johnw@newartisans.com> | 2007-05-06 10:29:05 +0000 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-04-13 03:38:38 -0400 |
commit | b95aa8d4ca5193187f34b7ec6db28a767f110ecd (patch) | |
tree | 745065f6a8fac2ec009fa3f86f97b513145040ea /src/commodity.h | |
parent | 0528a1e49a82221e63039abc7f759a43f4d4ffc9 (diff) | |
download | fork-ledger-b95aa8d4ca5193187f34b7ec6db28a767f110ecd.tar.gz fork-ledger-b95aa8d4ca5193187f34b7ec6db28a767f110ecd.tar.bz2 fork-ledger-b95aa8d4ca5193187f34b7ec6db28a767f110ecd.zip |
Some slight reorg.
Diffstat (limited to 'src/commodity.h')
-rw-r--r-- | src/commodity.h | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/commodity.h b/src/commodity.h index 72ded1e4..9efa0051 100644 --- a/src/commodity.h +++ b/src/commodity.h @@ -393,26 +393,6 @@ public: commodity_t * find_or_create(commodity_t& comm, const annotation_t& details); - - void parse_amount(amount_t& amount, std::istream& in, - amount_t::flags_t flags = 0) { - amount.parse(*this, in, flags); - } - void parse_amount(amount_t& amount, const string& str, - amount_t::flags_t flags = 0) { - amount.parse(*this, str, flags); - } - - amount_t parse_amount(std::istream& in, amount_t::flags_t flags = 0) { - amount_t temp; - parse_amount(temp, in, flags); - return temp; - } - amount_t parse_amount(const string& str, amount_t::flags_t flags = 0) { - amount_t temp; - parse_amount(temp, str, flags); - return temp; - } }; } // namespace ledger |