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

Method fromXml

native/desc/Element.cpp:228–235  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

226 }
227
228 void Element::fromXml(const tinyxml2::XMLDocument &nodeOfDoc, const ElementPtr &parentOfNode) {
229 const ::tinyxml2::XMLElement *node = nodeOfDoc.RootElement();
230 this->fromXMLNode(node, parentOfNode);
231
232 if (0 != nodeOfDoc.ErrorID())
233 BLOGE("parse xml error %s", nodeOfDoc.ErrorStr());
234
235 }
236
237 void Element::fromXMLNode(const tinyxml2::XMLElement *xmlNode, const ElementPtr &parentOfNode) {
238 if (nullptr == xmlNode)

Callers 1

createFromXmlMethod · 0.80

Calls 2

fromXMLNodeMethod · 0.95
ErrorStrMethod · 0.80

Tested by

no test coverage detected