Example #1
0
File: Xml.cpp Project: Lemm/simbody
/*static*/ bool Xml::Text::isA(const Xml::Node& node) 
{   if (!node.isValid()) return false;
    return node.getTiNode().ToText() != 0; }
Example #2
0
File: Xml.cpp Project: Lemm/simbody
/*static*/ bool Xml::Unknown::isA(const Xml::Node& node) 
{   if (!node.isValid()) return false;
    return node.getTiNode().ToUnknown() != 0; }