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

Method getNodeOpt

framework/serialization/serialize.cpp:270–278  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

268}
269
270SerializationNode *XMLSerializationNode::getNodeOpt(const char *name)
271{
272 auto newNode = this->node.child(name);
273 if (!newNode)
274 {
275 return nullptr;
276 }
277 return &this->archive->nodes.emplace_back(this->archive, newNode, this);
278}
279
280SerializationNode *XMLSerializationNode::getNextSiblingOpt(const char *name)
281{

Callers 5

deserializeManifestMethod · 0.80
serializeInFunction · 0.80
serializeInSectionMapFunction · 0.80
getNodeMethod · 0.80
getNodeReqMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected