Logo Search packages:      
Sourcecode: rarian version File versions

const TiXmlElement * TiXmlNode::NextSiblingElement ( const char *  _value  )  const [inherited]

Convenience function to get through elements. Calls NextSibling and ToElement. Will skip all non-Element nodes. Returns 0 if there is not another element.

Definition at line 563 of file tinyxml.cpp.

References TiXmlNode::NextSibling(), and TiXmlNode::ToElement().

{
      const TiXmlNode* node;

      for ( node = NextSibling( _value );
      node;
      node = node->NextSibling( _value ) )
      {
            if ( node->ToElement() )
                  return node->ToElement();
      }
      return 0;
}


Generated by  Doxygen 1.6.0   Back to index