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

CompositeBase< N > Class Template Reference

Base interface for composite (visitable) nodes. More...

#include <Composite.h>

Inheritance diagram for CompositeBase< N >:

Referenced List of all members.

Protected Methods

virtual void descend (VisitorBase *v)=0
 Propagate a visitor to all child nodes.

virtual void ascend (VisitorBase *v)=0
 Propagate a visitor to all parent nodes.


Friends

class VisitorCore< N >

Detailed Description

template<class N>
class CompositeBase< N >

Base interface for composite (visitable) nodes.

N is a context specific visitable node type.


Member Function Documentation

template<class N>
virtual void CompositeBase< N >::ascend VisitorBase   v [protected, pure virtual]
 

Propagate a visitor to all parent nodes.

Implemented in Composite< V >.

template<class N>
virtual void CompositeBase< N >::descend VisitorBase   v [protected, pure virtual]
 

Propagate a visitor to all child nodes.

Implemented in Composite< V >.


Friends And Related Function Documentation

template<class N>
friend class VisitorCore< N > [friend]
 


The documentation for this class was generated from the following file:
SimData version pre-0.4.0. For more information on SimData, visit the SimData Homepage.

Generated on Tue Oct 14 12:06:40 2003, using Doxygen 1.2.18.

[SF.net]