diff options
author | John Wiegley <johnw@newartisans.com> | 2010-05-30 02:20:34 -0600 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2010-05-30 02:38:30 -0600 |
commit | 8f17d01f5e48ae5097f4cb38d481b00577329b8c (patch) | |
tree | 2db7a0f4b156ec88cf4d785b9d7a4ea2dae60a07 /src/xml.h | |
parent | 7ec52d2b395bf4cfc656eef52d72b9d83c1c1523 (diff) | |
download | ledger-8f17d01f5e48ae5097f4cb38d481b00577329b8c.tar.gz ledger-8f17d01f5e48ae5097f4cb38d481b00577329b8c.tar.bz2 ledger-8f17d01f5e48ae5097f4cb38d481b00577329b8c.zip |
Added new required item_handler_t::clear() method
Diffstat (limited to 'src/xml.h')
-rw-r--r-- | src/xml.h | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -83,6 +83,14 @@ public: virtual void flush(); virtual void operator()(post_t& post); + + virtual void clear() { + commodities.clear(); + transactions_set.clear(); + transactions.clear(); + + item_handler<post_t>::clear(); + } }; } // namespace ledger |