MCPcopy Create free account
hub / github.com/Gecode/gecode / getCall

Method getCall

gecode/flatzinc/ast.hh:342–347  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

340 }
341
342 inline Call*
343 Node::getCall(void) {
344 if (Call* a = dynamic_cast<Call*>(this))
345 return a;
346 throw TypeError("call expected");
347 }
348
349 inline bool
350 Node::hasCall(const std::string& id) {

Callers 4

get_constraint_namesFunction · 0.80
yyparseFunction · 0.80
flattenAnnotationsFunction · 0.80
createBranchersMethod · 0.80

Calls 2

TypeErrorFunction · 0.85
sizeMethod · 0.45

Tested by

no test coverage detected