diff options
author | John Wiegley <johnw@newartisans.com> | 2009-11-11 21:33:53 -0500 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-11-11 21:33:53 -0500 |
commit | 95cc364961112a411b16ce410e682b76ca143703 (patch) | |
tree | 34ab679281b97123d15eac9e1a5ee50c949af73f /src/report.h | |
parent | b6ff8f19d5158977dcb09ea6cf94b07b00937f4a (diff) | |
download | fork-ledger-95cc364961112a411b16ce410e682b76ca143703.tar.gz fork-ledger-95cc364961112a411b16ce410e682b76ca143703.tar.bz2 fork-ledger-95cc364961112a411b16ce410e682b76ca143703.zip |
Added new value expressions for value conversion
They are:
to_boolean
to_int
to_datetime
to_date
to_amount
to_balance
to_string
to_mask
to_sequence
Diffstat (limited to 'src/report.h')
-rw-r--r-- | src/report.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/report.h b/src/report.h index 2181c49a..4c8813ed 100644 --- a/src/report.h +++ b/src/report.h @@ -155,6 +155,15 @@ public: value_t fn_lot_date(call_scope_t& scope); value_t fn_lot_price(call_scope_t& scope); value_t fn_lot_tag(call_scope_t& scope); + value_t fn_to_boolean(call_scope_t& scope); + value_t fn_to_int(call_scope_t& scope); + value_t fn_to_datetime(call_scope_t& scope); + value_t fn_to_date(call_scope_t& scope); + value_t fn_to_amount(call_scope_t& scope); + value_t fn_to_balance(call_scope_t& scope); + value_t fn_to_string(call_scope_t& scope); + value_t fn_to_mask(call_scope_t& scope); + value_t fn_to_sequence(call_scope_t& scope); value_t fn_now(call_scope_t&) { return terminus; |