summaryrefslogtreecommitdiff
path: root/reconcile.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2008-07-29 20:10:03 -0400
committerJohn Wiegley <johnw@newartisans.com>2008-07-29 20:10:03 -0400
commitea27d1b45a5ff975a1e90e3e9f4b74ff8d34056e (patch)
tree492a147199ad921959f86e8f0b4ec4edc1eeed46 /reconcile.h
parent200d919fe7c8bcf021011c16fb6ec50821444d5e (diff)
downloadfork-ledger-ea27d1b45a5ff975a1e90e3e9f4b74ff8d34056e.tar.gz
fork-ledger-ea27d1b45a5ff975a1e90e3e9f4b74ff8d34056e.tar.bz2
fork-ledger-ea27d1b45a5ff975a1e90e3e9f4b74ff8d34056e.zip
Moved around and renamed a very large amount of code in order to rationalize
the way that value expressions extract information from journal objects.
Diffstat (limited to 'reconcile.h')
-rw-r--r--reconcile.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/reconcile.h b/reconcile.h
index 9f672d6b..c6affb81 100644
--- a/reconcile.h
+++ b/reconcile.h
@@ -6,32 +6,32 @@
namespace ledger {
-class reconcile_transactions : public item_handler<transaction_t>
+class reconcile_xacts : public item_handler<xact_t>
{
value_t balance;
datetime_t cutoff;
- transactions_list xacts;
+ xacts_list xacts;
- reconcile_transactions();
+ reconcile_xacts();
public:
- reconcile_transactions(xact_handler_ptr handler,
+ reconcile_xacts(xact_handler_ptr handler,
const value_t& _balance,
const datetime_t& _cutoff)
- : item_handler<transaction_t>(handler),
+ : item_handler<xact_t>(handler),
balance(_balance), cutoff(_cutoff) {
- TRACE_CTOR(reconcile_transactions,
+ TRACE_CTOR(reconcile_xacts,
"xact_handler_ptr, const value_t&, const datetime_t&");
}
- virtual ~reconcile_transactions() throw() {
- TRACE_DTOR(reconcile_transactions);
+ virtual ~reconcile_xacts() throw() {
+ TRACE_DTOR(reconcile_xacts);
}
- void push_to_handler(transaction_t * first);
+ void push_to_handler(xact_t * first);
virtual void flush();
- virtual void operator()(transaction_t& xact) {
+ virtual void operator()(xact_t& xact) {
xacts.push_back(&xact);
}
};