| 413 | throw TypeError("variable expected"); |
| 414 | } |
| 415 | inline int |
| 416 | Node::getIntVar(void) { |
| 417 | if (IntVar* a = dynamic_cast<IntVar*>(this)) |
| 418 | return a->i; |
| 419 | throw TypeError("integer variable expected"); |
| 420 | } |
| 421 | inline int |
| 422 | Node::getBoolVar(void) { |
| 423 | if (BoolVar* a = dynamic_cast<BoolVar*>(this)) |
no test coverage detected