MCPcopy Create free account
hub / github.com/OpenApoc/OpenApoc / setAttribute

Method setAttribute

framework/serialization/serialize.cpp:319–322  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

317}
318
319void XMLSerializationNode::setAttribute(const UString &attribute, const UString &value)
320{
321 node.attribute(attribute.c_str()).set_value(value.c_str());
322}
323
324unsigned int XMLSerializationNode::getValueUInt() { return node.text().as_uint(); }
325

Callers 2

serializeOutFunction · 0.80
serializeOutSectionMapFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected