diff options
Diffstat (limited to 'csv.h')
-rw-r--r-- | csv.h | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -6,25 +6,25 @@ namespace ledger { -class format_csv_transactions : public item_handler<transaction_t> +class format_csv_xacts : public item_handler<xact_t> { - format_csv_transactions(); + format_csv_xacts(); protected: std::ostream& out; public: - format_csv_transactions(std::ostream& _out) : out(_out) { - TRACE_CTOR(format_csv_transactions, "std::ostream&"); + format_csv_xacts(std::ostream& _out) : out(_out) { + TRACE_CTOR(format_csv_xacts, "std::ostream&"); } - ~format_csv_transactions() { - TRACE_DTOR(format_csv_transactions); + ~format_csv_xacts() { + TRACE_DTOR(format_csv_xacts); } virtual void flush() { out.flush(); } - virtual void operator()(transaction_t& xact); + virtual void operator()(xact_t& xact); }; } // namespace ledger |