added 'const' to 'write'

This commit is contained in:
Dave Goodwin 2004-10-19 10:47:53 +00:00
parent f873fb6b1a
commit db05f9fdd3

View file

@ -153,7 +153,7 @@ namespace Cantera {
XML_Node* findByName(const string& nm);
void getChildren(string name, vector<XML_Node*>& children) const;
XML_Node& child(string loc) const;
void write(ostream& s, int level = 0);
void write(ostream& s, int level = 0) const;
XML_Node& root() const { return *m_root; }
void setRoot(XML_Node& root) { m_root = &root; }
void copyUnion(XML_Node *node_dest);