| 1426 | |
| 1427 | |
| 1428 | Node * |
| 1429 | Domain::getNode(int tag) |
| 1430 | { |
| 1431 | TaggedObject *mc = theNodes->getComponentPtr(tag); |
| 1432 | |
| 1433 | // if not there return 0 otherwise perform a cast and return that |
| 1434 | if (mc == 0) |
| 1435 | return 0; |
| 1436 | Node *result = (Node *)mc; |
| 1437 | return result; |
| 1438 | } |
| 1439 | |
| 1440 | SP_Constraint * |
| 1441 | Domain::getSP_Constraint(int tag) |
no test coverage detected