summaryrefslogtreecommitdiff
path: root/src/value.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2010-06-07 08:16:02 -0400
committerJohn Wiegley <johnw@newartisans.com>2010-06-07 08:32:13 -0400
commita4d4f9979486eb82c05bd032e1452c2fd400249f (patch)
tree7451a16c967f4dbe32122bd20f96dc5e6b4ad231 /src/value.h
parent8bd362b5d17782cf8fa5317017a1c5d73d76f1b7 (diff)
downloadfork-ledger-a4d4f9979486eb82c05bd032e1452c2fd400249f.tar.gz
fork-ledger-a4d4f9979486eb82c05bd032e1452c2fd400249f.tar.bz2
fork-ledger-a4d4f9979486eb82c05bd032e1452c2fd400249f.zip
amount_t::print and value_t::print now use flags
Diffstat (limited to 'src/value.h')
-rw-r--r--src/value.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/value.h b/src/value.h
index 2e3998f3..cffd6dee 100644
--- a/src/value.h
+++ b/src/value.h
@@ -942,11 +942,11 @@ public:
/**
* Printing methods.
*/
- void print(std::ostream& out,
- const int first_width = -1,
- const int latter_width = -1,
- const bool right_justify = false,
- const bool colorize = false) const;
+ void print(std::ostream& out,
+ const int first_width = -1,
+ const int latter_width = -1,
+ const uint_least8_t flags = AMOUNT_PRINT_NO_FLAGS) const;
+
void dump(std::ostream& out, const bool relaxed = true) const;
/**