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/balance.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/balance.h')
-rw-r--r-- | src/balance.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/balance.h b/src/balance.h index d1e4301b..b65cc3aa 100644 --- a/src/balance.h +++ b/src/balance.h @@ -475,6 +475,15 @@ public: void print(std::ostream& out, const int first_width, const int latter_width = -1) const; + /** @name XML Serialization + */ + /*@{*/ + + void read_xml(std::istream& in); + void write_xml(std::ostream& out, const int depth = 0) const; + + /*@}*/ + /** * Debugging methods. There are two methods defined to help with * debugging: |