A cursor that frees all memory. More...
#include <nodecursor.hh>
Public Member Functions | |
DisposeCursor (VisualNode *theNode, const VisualNode::NodeAllocator &na) | |
Constructor. | |
Public Member Functions inherited from Gecode::Gist::NodeCursor< VisualNode > | |
NodeCursor (VisualNode *theNode, const typename VisualNode::NodeAllocator &na) | |
Construct cursor, initially set to theNode. | |
unsigned int | alternative (void) |
Return current alternative. | |
bool | mayMoveUpwards (void) |
Test if the cursor may move to the parent node. | |
void | moveUpwards (void) |
Move cursor to the parent node. | |
bool | mayMoveDownwards (void) |
Test if cursor may move to the first child node. | |
void | moveDownwards (void) |
Move cursor to the first child node. | |
bool | mayMoveSidewards (void) |
Test if cursor may move to the first sibling. | |
void | moveSidewards (void) |
Move cursor to the first sibling. |
Cursor interface | |
void | processCurrentNode (void) |
Dispose node. |
Additional Inherited Members | |
Protected Member Functions inherited from Gecode::Gist::NodeCursor< VisualNode > | |
void | node (VisualNode *n) |
Set current node to n. | |
VisualNode * | startNode (void) |
Return start node. | |
Protected Attributes inherited from Gecode::Gist::NodeCursor< VisualNode > | |
const VisualNode::NodeAllocator & | na |
The node allocator. |
A cursor that frees all memory.
Definition at line 215 of file nodecursor.hh.
|
inline |
Constructor.
Definition at line 287 of file nodecursor.hpp.
|
inline |
Dispose node.
Definition at line 292 of file nodecursor.hpp.