diff options
author | John Wiegley <johnw@newartisans.com> | 2010-06-11 16:03:50 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2010-06-11 17:02:25 -0400 |
commit | dea2aed0b509734ec4e1cd163ac2a4f013000da2 (patch) | |
tree | 7908da76c67ae5172882306a319bf26df81b73b4 /src/generate.h | |
parent | d580079df892c30d023b3211d6c4611c17b11f8f (diff) | |
download | fork-ledger-dea2aed0b509734ec4e1cd163ac2a4f013000da2.tar.gz fork-ledger-dea2aed0b509734ec4e1cd163ac2a4f013000da2.tar.bz2 fork-ledger-dea2aed0b509734ec4e1cd163ac2a4f013000da2.zip |
Untabified all source files
Diffstat (limited to 'src/generate.h')
-rw-r--r-- | src/generate.h | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/src/generate.h b/src/generate.h index f0f58064..25ad41ea 100644 --- a/src/generate.h +++ b/src/generate.h @@ -53,7 +53,7 @@ class generate_posts_iterator : public posts_iterator session_t& session; unsigned int seed; std::size_t quantity; - bool allow_invalid; + bool allow_invalid; date_t next_date; date_t next_eff_date; @@ -97,9 +97,9 @@ class generate_posts_iterator : public posts_iterator public: generate_posts_iterator(session_t& _session, - unsigned int _seed = 0, - std::size_t _quantity = 100, - bool _allow_invalid = false); + unsigned int _seed = 0, + std::size_t _quantity = 100, + bool _allow_invalid = false); virtual ~generate_posts_iterator() throw() { TRACE_DTOR(generate_posts_iterator); @@ -108,21 +108,21 @@ public: virtual post_t * operator()(); protected: - void generate_string(std::ostream& out, int len, bool only_alpha = false); - bool generate_account(std::ostream& out, bool no_virtual = false); - void generate_commodity(std::ostream& out, const string& exclude = ""); + void generate_string(std::ostream& out, int len, bool only_alpha = false); + bool generate_account(std::ostream& out, bool no_virtual = false); + void generate_commodity(std::ostream& out, const string& exclude = ""); string generate_amount(std::ostream& out, - value_t not_this_amount = NULL_VALUE, - bool no_negative = false, - const string& exclude = ""); - bool generate_post(std::ostream& out, bool no_amount = false); - void generate_cost(std::ostream& out, value_t amount); - void generate_date(std::ostream& out); - void generate_state(std::ostream& out); - void generate_code(std::ostream& out); - void generate_payee(std::ostream& out); - void generate_note(std::ostream& out); - void generate_xact(std::ostream& out); + value_t not_this_amount = NULL_VALUE, + bool no_negative = false, + const string& exclude = ""); + bool generate_post(std::ostream& out, bool no_amount = false); + void generate_cost(std::ostream& out, value_t amount); + void generate_date(std::ostream& out); + void generate_state(std::ostream& out); + void generate_code(std::ostream& out); + void generate_payee(std::ostream& out); + void generate_note(std::ostream& out); + void generate_xact(std::ostream& out); }; } // namespace ledger |