MCPcopy Create free account
hub / github.com/AllentDan/LibtorchTutorials / GetText

Method GetText

lesson7-Detection/src/utils/tinyxml.cpp:900–910  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

898
899
900const char* TiXmlElement::GetText() const
901{
902 const TiXmlNode* child = this->FirstChild();
903 if ( child ) {
904 const TiXmlText* childText = child->ToText();
905 if ( childText ) {
906 return childText->Value();
907 }
908 }
909 return 0;
910}
911
912
913TiXmlDocument::TiXmlDocument() : TiXmlNode( TiXmlNode::TINYXML_DOCUMENT )

Callers

nothing calls this directly

Calls 3

FirstChildMethod · 0.45
ToTextMethod · 0.45
ValueMethod · 0.45

Tested by

no test coverage detected