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

Method getAtom

gecode/flatzinc/ast.hh:402–407  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

400 }
401
402 inline Atom*
403 Node::getAtom(void) {
404 if (Atom* a = dynamic_cast<Atom*>(this))
405 return a;
406 throw TypeError("atom expected");
407 }
408
409 inline std::string
410 Node::getVarName(void) {

Callers

nothing calls this directly

Calls 1

TypeErrorFunction · 0.85

Tested by

no test coverage detected