From 9f8997f1b52f55225c76cf92461a05940d71a9e7 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Sun, 1 Feb 2009 01:48:07 -0400 Subject: Values can now be streamed to XML, and all the types they refer to. --- src/balance.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/balance.h') 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: -- cgit v1.2.3