diff options
author | John Wiegley <johnw@newartisans.com> | 2004-08-10 17:54:47 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2004-08-10 17:54:47 -0400 |
commit | 7a1d0d46146ecdb79a156ea1197bc3f1bd30cb95 (patch) | |
tree | fcca3d58b29c119ff42e70a08c35007b3e399d82 /format.h | |
parent | 799e97e420133eb25a321f30a61f857831a93dac (diff) | |
download | fork-ledger-7a1d0d46146ecdb79a156ea1197bc3f1bd30cb95.tar.gz fork-ledger-7a1d0d46146ecdb79a156ea1197bc3f1bd30cb95.tar.bz2 fork-ledger-7a1d0d46146ecdb79a156ea1197bc3f1bd30cb95.zip |
new debug code; automated transactions now use value expression predicates
Diffstat (limited to 'format.h')
-rw-r--r-- | format.h | 26 |
1 files changed, 13 insertions, 13 deletions
@@ -104,14 +104,14 @@ class format_transaction mutable transaction_t * last_xact; public: - format_transaction(std::ostream& _output_stream, - const format_t& _first_line_format, - const format_t& _next_lines_format, - const node_t * display_predicate = NULL, + format_transaction(std::ostream& _output_stream, + const format_t& _first_line_format, + const format_t& _next_lines_format, + const std::string& display_predicate = NULL, #ifdef COLLAPSED_REGISTER - const bool _collapsed = false, + const bool _collapsed = false, #endif - const bool _inverted = false) + const bool _inverted = false) : output_stream(_output_stream), first_line_format(_first_line_format), next_lines_format(_next_lines_format), @@ -198,9 +198,9 @@ class format_account item_predicate<account_t> disp_pred_functor; public: - format_account(std::ostream& _output_stream, - const format_t& _format, - const node_t * display_predicate = NULL) + format_account(std::ostream& _output_stream, + const format_t& _format, + const std::string& display_predicate = NULL) : output_stream(_output_stream), format(_format), disp_pred_functor(display_predicate) {} @@ -237,10 +237,10 @@ class format_equity mutable balance_t total; public: - format_equity(std::ostream& _output_stream, - const format_t& _first_line_format, - const format_t& _next_lines_format, - const node_t * display_predicate = NULL) + format_equity(std::ostream& _output_stream, + const format_t& _first_line_format, + const format_t& _next_lines_format, + const std::string& display_predicate = NULL) : output_stream(_output_stream), first_line_format(_first_line_format), next_lines_format(_next_lines_format), |