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

Method getSectionReq

framework/serialization/serialize.cpp:28–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26}
27
28SerializationNode *SerializationNode::getSectionReq(const char *name)
29{
30 auto node = this->getSectionOpt(name);
31 if (!node)
32 {
33 throw SerializationException(format("Missing section \"%s\"", name), this);
34 }
35 return node;
36}
37
38SerializationNode *SerializationNode::getNextSiblingReq(const char *name)
39{

Callers

nothing calls this directly

Calls 3

formatFunction · 0.85
getSectionOptMethod · 0.80

Tested by

no test coverage detected