Main Page   Modules   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members   Related Pages  

visitor.h File Reference

Go to the source code of this file.

Compounds

class  Visitor
 A functional class to peform a function on a Node, depending on its class. More...


Functions

template<class T> void list_visitor (list< T > &l, Visitor *the_visitor)
 Invoke a given visiter on every element of a list. More...


Function Documentation

template<class T>
void list_visitor list< T > &    l,
Visitor   the_visitor
 

Invoke a given visiter on every element of a list.

Parameters:
the_visiter  The visiter which should be invoked on every element of the list.
l  The list on which to invoke the Visiter. This list should contain only Nodes or subclasses of Node.


Generated on Thu Jan 10 12:06:23 2002 for C-Breeze by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001