rpgoldman / europa-pso

Automatically exported from code.google.com/p/europa-pso
0 stars 0 forks source link

Add type checking for all constraint types #9

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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.

Original issue reported on code.google.com by javier.barreiro@gmail.com on 24 Aug 2009 at 10:50

GoogleCodeExporter commented 9 years ago

Original comment by javier.barreiro@gmail.com on 22 Nov 2010 at 10:29