diff options
author | John Wiegley <johnw@newartisans.com> | 2007-05-07 10:25:15 +0000 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-04-13 03:38:39 -0400 |
commit | a07e20c14e5ba3597a855276ad9a195343aee42f (patch) | |
tree | 2148a9a8e3038993cca6865a025a582e95f9caac /src/xml.h | |
parent | 8aada79971b772fda92131053fa03021cfbc625a (diff) | |
download | ledger-a07e20c14e5ba3597a855276ad9a195343aee42f.tar.gz ledger-a07e20c14e5ba3597a855276ad9a195343aee42f.tar.bz2 ledger-a07e20c14e5ba3597a855276ad9a195343aee42f.zip |
Changed write methods to print.
Diffstat (limited to 'src/xml.h')
-rw-r--r-- | src/xml.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -89,7 +89,7 @@ public: throw_(conversion_error, "Cannot convert node to a value"); } - virtual void write(std::ostream& out, int depth = 0) const = 0; + virtual void print(std::ostream& out, int depth = 0) const = 0; private: node_t(const node_t&); @@ -124,7 +124,7 @@ public: } virtual void add_child(node_t * node); - void write(std::ostream& out, int depth = 0) const; + void print(std::ostream& out, int depth = 0) const; private: parent_node_t(const parent_node_t&); @@ -159,7 +159,7 @@ public: return text(); } - void write(std::ostream& out, int depth = 0) const; + void print(std::ostream& out, int depth = 0) const; private: terminal_node_t(const node_t&); @@ -218,7 +218,7 @@ private: static int lookup_builtin_id(const string& name); const char * lookup_name(int id) const; - void write(std::ostream& out) const; + void print(std::ostream& out) const; #if defined(HAVE_EXPAT) || defined(HAVE_XMLPARSE) class parser_t |