diff options
author | John Wiegley <johnw@newartisans.com> | 2009-02-01 01:48:07 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-02-01 01:48:07 -0400 |
commit | 9f8997f1b52f55225c76cf92461a05940d71a9e7 (patch) | |
tree | 180e1d7d9e1692234e3242f66f7e324c0ba32907 /src/balpair.h | |
parent | cac7d02dd8fa595722faace8aa84be54b49e554b (diff) | |
download | fork-ledger-9f8997f1b52f55225c76cf92461a05940d71a9e7.tar.gz fork-ledger-9f8997f1b52f55225c76cf92461a05940d71a9e7.tar.bz2 fork-ledger-9f8997f1b52f55225c76cf92461a05940d71a9e7.zip |
Values can now be streamed to XML, and all the types they refer to.
Diffstat (limited to 'src/balpair.h')
-rw-r--r-- | src/balpair.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/balpair.h b/src/balpair.h index d96792f0..38e58cf9 100644 --- a/src/balpair.h +++ b/src/balpair.h @@ -343,6 +343,15 @@ public: return balance_t::operator==(val); } + /** @name XML Serialization + */ + /*@{*/ + + void read_xml(std::istream& in); + void write_xml(std::ostream& out, const int depth = 0) const; + + /*@}*/ + /** * Debugging methods. There is only one method specifically for * balance pairs to help with debugging: |