Пример #1
0
	uint32_t XMLNode::AttribUInt(std::string const & name, uint32_t default_val)
	{
		XMLAttributePtr attr = this->Attrib(name);
		return attr ? attr->ValueUInt() : default_val;
	}
Пример #2
0
uint32_t XMLNode::AttributeUInt( const std::string& name , uint32_t defaultVar  )
{
    XMLAttributePtr attr = Attribute(name);
    return attr ? attr->ValueUInt() : defaultVar;
}