summaryrefslogtreecommitdiff
path: root/src/report.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-11-11 21:33:53 -0500
committerJohn Wiegley <johnw@newartisans.com>2009-11-11 21:33:53 -0500
commit95cc364961112a411b16ce410e682b76ca143703 (patch)
tree34ab679281b97123d15eac9e1a5ee50c949af73f /src/report.h
parentb6ff8f19d5158977dcb09ea6cf94b07b00937f4a (diff)
downloadfork-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.h9
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;