Gecode::Gist::LayoutCursor Class Reference
A cursor that computes a tree layout for VisualNodes. More...
#include <layoutcursor.hh>
Public Member Functions | |
LayoutCursor (VisualNode *theNode, const VisualNode::NodeAllocator &na) | |
Constructor. | |
Cursor interface | |
| |
bool | mayMoveDownwards (void) |
Test if the cursor may move to the first child node. | |
void | processCurrentNode (void) |
Compute layout for current node. |
Detailed Description
A cursor that computes a tree layout for VisualNodes.
Definition at line 48 of file layoutcursor.hh.
Constructor & Destructor Documentation
Gecode::Gist::LayoutCursor::LayoutCursor | ( | VisualNode * | theNode, | |
const VisualNode::NodeAllocator & | na | |||
) | [inline] |
Constructor.
Definition at line 47 of file layoutcursor.hpp.
Member Function Documentation
bool Gecode::Gist::LayoutCursor::mayMoveDownwards | ( | void | ) | [inline] |
Test if the cursor may move to the first child node.
Reimplemented from Gecode::Gist::NodeCursor< VisualNode >.
Definition at line 41 of file layoutcursor.hpp.
void Gecode::Gist::LayoutCursor::processCurrentNode | ( | void | ) | [inline] |
Compute layout for current node.
Definition at line 52 of file layoutcursor.hpp.
The documentation for this class was generated from the following files:
- gecode/gist/layoutcursor.hh (Revision: 11340)
- gecode/gist/layoutcursor.hpp (Revision: 13613)