Commented the _require() routine.
This commit is contained in:
parent
3f3ca7d62c
commit
8b81c0400e
1 changed files with 7 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue