diff options
author | John Wiegley <johnw@newartisans.com> | 2008-07-27 00:10:35 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-07-27 00:10:35 -0400 |
commit | 713f89679070e2fe2aa529c4eade1f9efd697898 (patch) | |
tree | 775d1e7ba478399385914d38cde41a06e9e7753e /format.h | |
parent | 162d982b0cf1a5ac2e67012a3b8eadae3c1ac59f (diff) | |
download | fork-ledger-713f89679070e2fe2aa529c4eade1f9efd697898.tar.gz fork-ledger-713f89679070e2fe2aa529c4eade1f9efd697898.tar.bz2 fork-ledger-713f89679070e2fe2aa529c4eade1f9efd697898.zip |
A large body of work to get the register report printing again, but still
fails due to the fact that 2.x value expression syntax is not restored.
Diffstat (limited to 'format.h')
-rw-r--r-- | format.h | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -173,7 +173,7 @@ inline bool disp_subaccounts_p(const account_t& account) { bool display_account(const account_t& account, const optional<item_predicate<account_t> >& disp_pred); -class format_account : public item_handler<account_t> +class format_accounts : public item_handler<account_t> { std::ostream& output_stream; @@ -182,15 +182,15 @@ class format_account : public item_handler<account_t> public: format_t format; - format_account(std::ostream& _output_stream, - const string& _format, - const string& display_predicate = NULL) + format_accounts(std::ostream& _output_stream, + const string& _format, + const string& display_predicate = NULL) : output_stream(_output_stream), disp_pred(display_predicate), format(_format) { - TRACE_CTOR(format_account, "std::ostream&, const string&, const string&"); + TRACE_CTOR(format_accounts, "std::ostream&, const string&, const string&"); } - ~format_account() throw() { - TRACE_DTOR(format_account); + ~format_accounts() throw() { + TRACE_DTOR(format_accounts); } virtual void flush() { @@ -211,7 +211,7 @@ class format_equity : public item_handler<account_t> mutable value_t total; public: - format_equity(std::ostream& _output_stream, + format_equity(std::ostream& _output_stream, const string& _format, const string& display_predicate); |