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

Method GetText

engine/source/persistence/tinyXML/tinyxml.cpp:883–893  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

881
882
883const char* TiXmlElement::GetText() const
884{
885 const TiXmlNode* child = this->FirstChild();
886 if ( child ) {
887 const TiXmlText* childText = child->ToText();
888 if ( childText ) {
889 return childText->Value();
890 }
891 }
892 return 0;
893}
894
895
896TiXmlDocument::TiXmlDocument() : TiXmlNode( TiXmlNode::TINYXML_DOCUMENT )

Callers 1

parseCustomNodeMethod · 0.80

Calls 3

FirstChildMethod · 0.45
ToTextMethod · 0.45
ValueMethod · 0.45

Tested by

no test coverage detected