From 8b81c0400e509863120cb849f2f41e52e8c4c208 Mon Sep 17 00:00:00 2001 From: Harry Moffat Date: Tue, 4 Oct 2005 16:53:35 +0000 Subject: [PATCH] Commented the _require() routine. --- Cantera/src/xml.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Cantera/src/xml.cpp b/Cantera/src/xml.cpp index a6bbecad7..83e89488c 100755 --- a/Cantera/src/xml.cpp +++ b/Cantera/src/xml.cpp @@ -720,7 +720,13 @@ namespace Cantera { } } - + /** + * _require() + * Require that the current xml node have an attribute named + * by the first argument, a, and that this attribute have the + * the string value listed in the second argument, v. + * If not, throw a CanteraError exception. + */ void XML_Node::_require(string a, string v) const { if (hasAttrib(a)) { if (attrib(a) == v) return;