MCPcopy Create free account
hub / github.com/KhronosGroup/OpenCOLLADA / reset

Method reset

DAEValidator/library/src/XmlDoc.cpp:102–111  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

100 }
101
102 void XmlDoc::reset()
103 {
104 mXPathCache.clear();
105
106 if (mDoc)
107 {
108 xmlFreeDoc(mDoc);
109 mDoc = nullptr;
110 }
111 }
112
113 XmlNode XmlDoc::root() const
114 {

Callers 2

LogMethod · 0.45
TEST_METHODFunction · 0.45

Calls 2

xmlFreeDocFunction · 0.85
clearMethod · 0.45

Tested by 1

TEST_METHODFunction · 0.36