A type that visits SPnodes to check if they are splittable. More...
Public Member Functions | |
SplittableCheck () | |
Constructor. | |
void | visit (const SPnode *const spn) const |
The visit operation. | |
bool | getResult () const |
Get the result of the visit operation. |
A type that visits SPnodes to check if they are splittable.
The result of the visit should be a boolean indicating whether the node should be split, according its own isSplittabeNode() method.
void subpavings::SplittableCheck::visit | ( | const SPnode *const | spn | ) | const [virtual] |
The visit operation.
Checks the node pointed to by spn and records the result true if the node is splittable (ie if spn->isSplittableNode()).
spn | a pointer to an SPnode to be visited. |
Implements subpavings::SPCheckVisitor.
{ result = spn->isSplittableNode(); }