MCPcopy Create free account
hub / github.com/Tencent/libpag / GetChildElementText

Function GetChildElementText

exporter/src/utils/ConfigUtils.cpp:64–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62}
63
64const char* GetChildElementText(tinyxml2::XMLElement* fatherElement, const char* childName) {
65 tinyxml2::XMLElement* childElement = fatherElement->FirstChildElement(childName);
66 if (childElement == nullptr) {
67 return nullptr;
68 }
69 return childElement->GetText();
70}
71
72} // namespace exporter

Callers 2

ReadCommonConfigFunction · 0.85
ReadBitmapConfigFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected