MCPcopy Create free account
hub / github.com/GarageGames/Torque2D / ChildElement

Method ChildElement

engine/source/persistence/tinyXML/tinyxml.cpp:1689–1705  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1687
1688
1689TiXmlHandle TiXmlHandle::ChildElement( int count ) const
1690{
1691 if ( node )
1692 {
1693 int i;
1694 TiXmlElement* child = node->FirstChildElement();
1695 for ( i=0;
1696 child && i<count;
1697 child = child->NextSiblingElement(), ++i )
1698 {
1699 // nothing
1700 }
1701 if ( child )
1702 return TiXmlHandle( child );
1703 }
1704 return TiXmlHandle( 0 );
1705}
1706
1707
1708TiXmlHandle TiXmlHandle::ChildElement( const char* value, int count ) const

Callers

nothing calls this directly

Calls 3

TiXmlHandleClass · 0.85
FirstChildElementMethod · 0.45
NextSiblingElementMethod · 0.45

Tested by

no test coverage detected