MCPcopy Create free account
hub / github.com/cppcheck-opensource/cppcheck / readAttrInt

Function readAttrInt

lib/ctu.cpp:177–184  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

175}
176
177static long long readAttrInt(const tinyxml2::XMLElement *e, const char *attr, bool *error)
178{
179 int64_t value = 0;
180 const bool err = (e->QueryInt64Attribute(attr, &value) != tinyxml2::XML_SUCCESS);
181 if (error)
182 *error = err;
183 return value;
184}
185
186bool CTU::FileInfo::CallBase::loadBaseFromXml(const tinyxml2::XMLElement *xmlElement)
187{

Callers 3

loadBaseFromXmlMethod · 0.85
loadFromXmlMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected