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

Method getAttribute

framework/serialization/serialize.cpp:314–317  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

312void XMLSerializationNode::setValue(const UString &str) { node.text().set(str.c_str()); }
313
314UString XMLSerializationNode::getAttribute(const UString &attribute)
315{
316 return node.attribute(attribute.c_str()).value();
317}
318
319void XMLSerializationNode::setAttribute(const UString &attribute, const UString &value)
320{

Callers 2

serializeInFunction · 0.80
serializeInSectionMapFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected