diff options
Diffstat (limited to 'src/output.h')
-rw-r--r-- | src/output.h | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/src/output.h b/src/output.h index c7e108fe..19dc5e20 100644 --- a/src/output.h +++ b/src/output.h @@ -89,52 +89,6 @@ public: * * Long. */ -class gather_statistics : public item_handler<post_t> -{ -protected: - report_t& report; - xact_t * last_xact; - post_t * last_post; - - struct statistics_t { - std::set<path> filenames; - - std::size_t total_xacts; - std::size_t total_posts; - std::size_t total_uncleared_posts; - std::size_t total_last_7_days; - std::size_t total_last_30_days; - std::size_t total_this_month; - - date_t earliest_post; - date_t latest_post; - - std::set<string> accounts_referenced; - std::set<string> payees_referenced; - - statistics_t() - : total_xacts(0), total_posts(0), total_uncleared_posts(0), - total_last_7_days(0), total_last_30_days(0), total_this_month(0) {} - } statistics; - -public: - gather_statistics(report_t& _report) - : report(_report), last_xact(NULL), last_post(NULL) { - TRACE_CTOR(gather_statistics, "report&"); - } - virtual ~gather_statistics() { - TRACE_DTOR(gather_statistics); - } - - virtual void flush(); - virtual void operator()(post_t& post); -}; - -/** - * @brief Brief - * - * Long. - */ class format_accounts : public item_handler<account_t> { protected: |