MCPcopy Create free account
hub / github.com/bytedance/Fastbot_Android / NextSiblingElement

Method NextSiblingElement

native/thirdpart/tinyxml2/tinyxml2.cpp:1018–1027  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1016
1017
1018const XMLElement* XMLNode::NextSiblingElement( const char* name ) const
1019{
1020 for( const XMLNode* node = _next; node; node = node->_next ) {
1021 const XMLElement* element = node->ToElementWithName( name );
1022 if ( element ) {
1023 return element;
1024 }
1025 }
1026 return 0;
1027}
1028
1029
1030const XMLElement* XMLNode::PreviousSiblingElement( const char* name ) const

Callers 4

fromXMLNodeMethod · 0.80
descendMethod · 0.80
traverseMethod · 0.80
NextSiblingElementFunction · 0.80

Calls 1

ToElementWithNameMethod · 0.80

Tested by

no test coverage detected