MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / getUIntAttribute

Method getUIntAttribute

Source/ThirdParty/assimp/XmlParser.h:359–367  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

357
358template <class TNodeType>
359inline bool TXmlParser<TNodeType>::getUIntAttribute(XmlNode &xmlNode, const char *name, unsigned int &val) {
360 pugi::xml_attribute attr = xmlNode.attribute(name);
361 if (attr.empty()) {
362 return false;
363 }
364
365 val = attr.as_uint();
366 return true;
367}
368
369template <class TNodeType>
370inline bool TXmlParser<TNodeType>::getIntAttribute(XmlNode &xmlNode, const char *name, int &val) {

Callers

nothing calls this directly

Calls 3

attributeMethod · 0.80
as_uintMethod · 0.80
emptyMethod · 0.45

Tested by

no test coverage detected