Generated on Tue Apr 18 10:23:32 2017 for Gecode by doxygen 1.6.3

Gecode::Gist::NodeVisitor< Cursor > Class Template 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

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: