summaryrefslogtreecommitdiff
path: root/src/iterators.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-02-09 17:41:55 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-02-09 17:41:55 -0400
commit47567307ce2da0d9ac2d5267bd6328a2a30ee7c5 (patch)
treec01745008d39af7ad179e6f65958e9af094b4261 /src/iterators.h
parent6ca01af594148e12cd8e1da87302644a0bbae3a0 (diff)
downloadfork-ledger-47567307ce2da0d9ac2d5267bd6328a2a30ee7c5.tar.gz
fork-ledger-47567307ce2da0d9ac2d5267bd6328a2a30ee7c5.tar.bz2
fork-ledger-47567307ce2da0d9ac2d5267bd6328a2a30ee7c5.zip
Removed reference to session_t from the iterators module.
Diffstat (limited to 'src/iterators.h')
-rw-r--r--src/iterators.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/iterators.h b/src/iterators.h
index 699dd891..48abf5fa 100644
--- a/src/iterators.h
+++ b/src/iterators.h
@@ -119,15 +119,15 @@ public:
entries_iterator() : entries_uninitialized(true) {
TRACE_CTOR(entries_iterator, "");
}
- entries_iterator(session_t& session) : entries_uninitialized(true) {
- TRACE_CTOR(entries_iterator, "session_t&");
- reset(session);
+ entries_iterator(journal_t& journal) : entries_uninitialized(true) {
+ TRACE_CTOR(entries_iterator, "journal_t&");
+ reset(journal);
}
virtual ~entries_iterator() throw() {
TRACE_DTOR(entries_iterator);
}
- void reset(session_t& session);
+ void reset(journal_t& journal);
entry_t * operator()();
};
@@ -137,24 +137,24 @@ public:
*
* Long.
*/
-class session_xacts_iterator : public xacts_iterator
+class journal_xacts_iterator : public xacts_iterator
{
entries_iterator entries;
entry_xacts_iterator xacts;
public:
- session_xacts_iterator() {
- TRACE_CTOR(session_xacts_iterator, "");
+ journal_xacts_iterator() {
+ TRACE_CTOR(journal_xacts_iterator, "");
}
- session_xacts_iterator(session_t& session) {
- TRACE_CTOR(session_xacts_iterator, "session_t&");
- reset(session);
+ journal_xacts_iterator(journal_t& journal) {
+ TRACE_CTOR(journal_xacts_iterator, "journal_t&");
+ reset(journal);
}
- virtual ~session_xacts_iterator() throw() {
- TRACE_DTOR(session_xacts_iterator);
+ virtual ~journal_xacts_iterator() throw() {
+ TRACE_DTOR(journal_xacts_iterator);
}
- void reset(session_t& session);
+ void reset(journal_t& journal);
virtual xact_t * operator()();
};