summaryrefslogtreecommitdiff
path: root/src/post.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2010-05-18 17:37:27 -0400
committerJohn Wiegley <johnw@newartisans.com>2010-05-18 17:37:27 -0400
commit47bfe58ab39aa8d7ed4dc804409f1f78f485a5a6 (patch)
tree0b76e580880e0cb6f6ed5bec8e8bc053797d3a5b /src/post.h
parent017492ef5e80003073c5d053252d4a68a44260ae (diff)
downloadfork-ledger-47bfe58ab39aa8d7ed4dc804409f1f78f485a5a6.tar.gz
fork-ledger-47bfe58ab39aa8d7ed4dc804409f1f78f485a5a6.tar.bz2
fork-ledger-47bfe58ab39aa8d7ed4dc804409f1f78f485a5a6.zip
Added account_id and xact_id valexpr vars for posts
account_id is the "whicheth" number for that posting within its account. The xact_id is within its transaction.
Diffstat (limited to 'src/post.h')
-rw-r--r--src/post.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/post.h b/src/post.h
index 272cd9d8..226d6289 100644
--- a/src/post.h
+++ b/src/post.h
@@ -118,6 +118,9 @@ public:
amount_t resolve_expr(scope_t& scope, expr_t& expr);
+ std::size_t xact_id() const;
+ std::size_t account_id() const;
+
bool valid() const;
struct xdata_t : public supports_flags<uint_least16_t>