From 7a1d0d46146ecdb79a156ea1197bc3f1bd30cb95 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Tue, 10 Aug 2004 17:54:47 -0400 Subject: new debug code; automated transactions now use value expression predicates --- format.h | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'format.h') diff --git a/format.h b/format.h index 9828c5e7..107caad9 100644 --- a/format.h +++ b/format.h @@ -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 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), -- cgit v1.2.3