Generated on Sat Aug 25 2012 15:53:10 for Gecode by doxygen 1.7.5
Gecode::Gist::NodeVisitor Class Reference

Base class for a visitor that runs a cursor over a tree. More...

#include <nodevisitor.hh>

List of all members.

Public Member Functions

 NodeVisitor (const Cursor &c0)
 Constructor.
void setCursor (const Cursor &c0)
 Reset the cursor object to c0.
Cursor & getCursor (void)
 Return the cursor.

Protected Attributes

Cursor c
 The cursor.

Detailed Description

Base class for a visitor that runs a cursor over a tree.


Constructor & Destructor Documentation

Gecode::Gist::NodeVisitor::NodeVisitor ( const Cursor &  c0) [inline]

Constructor.

Definition at line 42 of file nodevisitor.hpp.


Member Function Documentation

void Gecode::Gist::NodeVisitor::setCursor ( const Cursor &  c0) [inline]

Reset the cursor object to c0.

Definition at line 46 of file nodevisitor.hpp.

Cursor & Gecode::Gist::NodeVisitor::getCursor ( void  ) [inline]

Return the cursor.

Definition at line 50 of file nodevisitor.hpp.


Member Data Documentation

Cursor Gecode::Gist::NodeVisitor::c [protected]

The cursor.

Definition at line 48 of file nodevisitor.hh.


The documentation for this class was generated from the following files: