| 192 | Node::isUndetermined(void) const { return getTag() == UNDET; } |
| 193 | |
| 194 | forceinline int |
| 195 | Node::getChild(int n) const { |
| 196 | assert(getTag() != UNDET && getTag() != LEAF); |
| 197 | if (getTag() == TWO_CHILDREN) { |
| 198 | assert(n != 1 || noOfChildren <= 0); |
| 199 | return n == 0 ? getFirstChild() : -noOfChildren; |
| 200 | } |
| 201 | assert(n < noOfChildren); |
| 202 | return static_cast<int*>(getPtr())[n]; |
| 203 | } |
| 204 | |
| 205 | forceinline VisualNode* |
| 206 | Node::getChild(const NodeAllocator& na, int n) const { |
no outgoing calls
no test coverage detected