summaryrefslogtreecommitdiff
path: root/src/xact.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-11-05 02:22:17 -0500
committerJohn Wiegley <johnw@newartisans.com>2009-11-05 02:22:17 -0500
commit40a430139edd12d9f580f5616571bc3ed8709d73 (patch)
tree8779adff41b86aaaa4137673823c4d621611bb9d /src/xact.h
parent111881f3cea1266206c7ea6382e44d70ed71f37a (diff)
downloadfork-ledger-40a430139edd12d9f580f5616571bc3ed8709d73.tar.gz
fork-ledger-40a430139edd12d9f580f5616571bc3ed8709d73.tar.bz2
fork-ledger-40a430139edd12d9f580f5616571bc3ed8709d73.zip
Transactions, etc., are now accessed by iterators
Diffstat (limited to 'src/xact.h')
-rw-r--r--src/xact.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/xact.h b/src/xact.h
index 07fc68f5..337abce8 100644
--- a/src/xact.h
+++ b/src/xact.h
@@ -77,6 +77,13 @@ public:
virtual void add_post(post_t * post);
virtual bool remove_post(post_t * post);
+ posts_list::iterator posts_begin() {
+ return posts.begin();
+ }
+ posts_list::iterator posts_end() {
+ return posts.end();
+ }
+
virtual bool finalize();
virtual bool valid() const {
return true;