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

Method getNodeReq

framework/serialization/serialize.cpp:18–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16{
17
18SerializationNode *SerializationNode::getNodeReq(const char *name)
19{
20 auto node = this->getNodeOpt(name);
21 if (!node)
22 {
23 throw SerializationException(format("Missing node \"%s\"", name), this);
24 }
25 return node;
26}
27
28SerializationNode *SerializationNode::getSectionReq(const char *name)
29{

Callers 2

serializeInFunction · 0.80
serializeInSectionMapFunction · 0.80

Calls 3

formatFunction · 0.85
getNodeOptMethod · 0.80

Tested by

no test coverage detected