summaryrefslogtreecommitdiff
path: root/format.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2008-07-27 00:10:35 -0400
committerJohn Wiegley <johnw@newartisans.com>2008-07-27 00:10:35 -0400
commit713f89679070e2fe2aa529c4eade1f9efd697898 (patch)
tree775d1e7ba478399385914d38cde41a06e9e7753e /format.h
parent162d982b0cf1a5ac2e67012a3b8eadae3c1ac59f (diff)
downloadfork-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.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/format.h b/format.h
index bf2ae31e..ad18decb 100644
--- a/format.h
+++ b/format.h
@@ -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);