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

Method getNextSiblingReq

framework/serialization/serialize.cpp:38–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36}
37
38SerializationNode *SerializationNode::getNextSiblingReq(const char *name)
39{
40 auto node = this->getNextSiblingOpt(name);
41 if (!node)
42 {
43 throw SerializationException(format("Missing sibling of \"%s\"", name), this);
44 }
45 return node;
46}
47
48using namespace pugi;
49class XMLSerializationArchive;

Callers

nothing calls this directly

Calls 3

formatFunction · 0.85
getNextSiblingOptMethod · 0.80

Tested by

no test coverage detected