TiXmlNode* TiXmlNode::PreviousSibling( const TCHAR * _value ) const { TiXmlNode* node; for ( node = prev; node; node = node->prev ) { if ( node->SValue() == TIXML_STRING (_value)) return node; } return 0; }
TiXmlNode* TiXmlNode::LastChild( const TCHAR * _value ) const { TiXmlNode* node; for ( node = lastChild; node; node = node->prev ) { if ( node->SValue() == TIXML_STRING (_value)) return node; } return 0; }
TiXmlNode* TiXmlNode::NextSibling( const TCHAR * _value ) const { TiXmlNode* node; for ( node = next; node; node = node->next ) { if ( node->SValue() == TIXML_STRING (_value)) return node; } return 0; }
TiXmlNode* TiXmlNode::PreviousSibling( const char * _value ) { TiXmlNode* node; for ( node = prev; node; node = node->prev ) { if ( node->SValue() == _value ) return node; } return 0; }
TiXmlNode* TiXmlNode::FirstChild( const TCHAR * _value ) const { TiXmlNode* node; for ( node = firstChild; node; node = node->next ) { if ( node->SValue() == TIXML_STRING( _value )) return node; } return 0; }
TiXmlNode* TiXmlNode::NextSibling( const char * _value ) { TiXmlNode* node; for ( node = next; node; node = node->next ) { if ( node->SValue() == _value ) return node; } return 0; }
TiXmlNode* TiXmlNode::LastChild( const char * _value ) { TiXmlNode* node; for ( node = lastChild; node; node = node->prev ) { if ( node->SValue() == _value ) return node; } return 0; }
TiXmlNode* TiXmlNode::FirstChild( const char * _value ) { TiXmlNode* node; for ( node = firstChild; node; node = node->next ) { if ( node->SValue() == _value ) return node; } return 0; }
TiXmlNode* TiXmlNode::NextSibling( const char * _value ) { TiXmlNode* node; for ( node = next; node; node = node->next ) { if ( node->SValue() == TIXML_CAST_STRING(_value)) return node; } return 0; }
TiXmlNode* TiXmlNode::LastChild( const char * _value ) { TiXmlNode* node; for ( node = lastChild; node; node = node->prev ) { if ( node->SValue() == TIXML_CAST_STRING(_value)) return node; } return 0; }