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

Method getNextSiblingOpt

framework/serialization/serialize.cpp:280–288  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

278}
279
280SerializationNode *XMLSerializationNode::getNextSiblingOpt(const char *name)
281{
282 auto newNode = this->node.next_sibling(name);
283 if (!newNode)
284 {
285 return nullptr;
286 }
287 return &this->archive->nodes.emplace_back(this->archive, newNode, this);
288}
289
290SerializationNode *XMLSerializationNode::addSection(const char *name)
291{

Callers 4

serializeInFunction · 0.80
serializeInSectionMapFunction · 0.80
getNextSiblingMethod · 0.80
getNextSiblingReqMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected