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

Method getArray

gecode/flatzinc/ast.hh:395–400  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

393 }
394
395 inline Array*
396 Node::getArray(void) {
397 if (Array* a = dynamic_cast<Array*>(this))
398 return a;
399 throw TypeError("array expected");
400 }
401
402 inline Atom*
403 Node::getAtom(void) {

Callers 15

get_constraint_namesFunction · 0.80
arrayOutputFunction · 0.80
flattenAnnotationsFunction · 0.80
createBranchersMethod · 0.80
arg2intargsMethod · 0.80
arg2boolargsMethod · 0.80
arg2intsetargsMethod · 0.80
arg2intvarargsMethod · 0.80
arg2boolvarargsMethod · 0.80
isBoolArrayMethod · 0.80
arg2setvarargsMethod · 0.80
arg2floatargsMethod · 0.80

Calls 1

TypeErrorFunction · 0.85

Tested by

no test coverage detected