Export to GitHub

europa-pso - issue #9

Add type checking for all constraint types


Posted on Aug 24, 2009 by Happy Ox

ConstraintType::checkArgTypes() allows a constraint type to perform type checking on the arguments that are passed to a constraint. This is used by the parser at compile time to perform type checking.

currently only the AbsoluteValue and AddEqual constraint take advantage of this, we need to implement it for all subclasses of Constraint that are exposed to the user.

See ModuleConstraintLibrary::initialize for registration and Constraints.hh/.cc for definition.

Comment #1

Posted on Nov 22, 2010 by Happy Ox

(No comment was entered for this change.)

Status: Accepted

Labels:
Type-Defect Priority-Medium Component-ConstraintEngine Milestone-EUROPA-X