summaryrefslogtreecommitdiff
path: root/session.cc
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 /session.cc
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 'session.cc')
-rw-r--r--session.cc14
1 files changed, 7 insertions, 7 deletions
diff --git a/session.cc b/session.cc
index efb38d89..18435fe6 100644
--- a/session.cc
+++ b/session.cc
@@ -237,17 +237,17 @@ account_t * session_t::find_account_re(const string& regexp)
return find_account_re_(master, mask_t(regexp));
}
-void session_t::clean_transactions()
+void session_t::clean_xacts()
{
- session_transactions_iterator walker(*this);
- pass_down_transactions
- (xact_handler_ptr(new clear_transaction_xdata), walker);
+ session_xacts_iterator walker(*this);
+ pass_down_xacts
+ (xact_handler_ptr(new clear_xact_xdata), walker);
}
-void session_t::clean_transactions(entry_t& entry)
+void session_t::clean_xacts(entry_t& entry)
{
- entry_transactions_iterator walker(entry);
- pass_down_transactions(xact_handler_ptr(new clear_transaction_xdata), walker);
+ entry_xacts_iterator walker(entry);
+ pass_down_xacts(xact_handler_ptr(new clear_xact_xdata), walker);
}
void session_t::clean_accounts()