diff options
author | John Wiegley <johnw@newartisans.com> | 2009-11-05 02:22:17 -0500 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-11-05 02:22:17 -0500 |
commit | 40a430139edd12d9f580f5616571bc3ed8709d73 (patch) | |
tree | 8779adff41b86aaaa4137673823c4d621611bb9d /src/xact.h | |
parent | 111881f3cea1266206c7ea6382e44d70ed71f37a (diff) | |
download | fork-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.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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; |