Generated on Sat Feb 7 2015 02:01:43 for Gecode by doxygen 1.8.9.1
Gecode::Gist::NodeVisitor< Cursor > Class Template Reference

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

#include <nodevisitor.hh>

Public Member Functions

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

Protected Attributes

Cursor c
 The cursor. More...
 

Detailed Description

template<class Cursor>
class Gecode::Gist::NodeVisitor< Cursor >

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

Definition at line 45 of file nodevisitor.hh.

Constructor & Destructor Documentation

template<class Cursor >
Gecode::Gist::NodeVisitor< Cursor >::NodeVisitor ( const Cursor &  c0)
inline

Constructor.

Definition at line 42 of file nodevisitor.hpp.

Member Function Documentation

template<class Cursor >
void Gecode::Gist::NodeVisitor< Cursor >::setCursor ( const Cursor &  c0)
inline

Reset the cursor object to c0.

Definition at line 46 of file nodevisitor.hpp.

template<class Cursor >
Cursor & Gecode::Gist::NodeVisitor< Cursor >::getCursor ( void  )
inline

Return the cursor.

Definition at line 50 of file nodevisitor.hpp.

Member Data Documentation

template<class Cursor >
Cursor Gecode::Gist::NodeVisitor< Cursor >::c
protected

The cursor.

Definition at line 48 of file nodevisitor.hh.


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