MCPcopy Create free account
hub / github.com/axmolengine/axmol / parse

Method parse

core/platform/SAXParser.cpp:105–113  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

103}
104
105bool SAXParser::parse(const char* xmlData, size_t dataLength, ParseOption opt)
106{
107 if (xmlData != nullptr && dataLength > 0)
108 {
109 std::string mutableData(xmlData, dataLength);
110 return this->parseIntrusive(&mutableData.front(), dataLength, opt);
111 }
112 return false;
113}
114
115bool SAXParser::parse(std::string_view filename, ParseOption opt)
116{

Callers 3

Calls 7

parseIntrusiveMethod · 0.95
getInstanceFunction · 0.85
getDataFromFileMethod · 0.80
isNullMethod · 0.80
getBytesMethod · 0.80
frontMethod · 0.45
getSizeMethod · 0.45

Tested by

no test coverage detected