This class is the base class to implement the Visitor Pattern. More...
Collaboration diagram for Feel::Visitor< T, R >:Typedefs | |
| typedef R | return_type |
Constructors, Destructors and methods | |
| virtual | ~Visitor () |
| virtual base destructor | |
| virtual return_type | visit (T *)=0 |
| visit a data structure | |
| return_type | visit (T &__t) |
| visit a data structure | |
This class is the base class to implement the Visitor Pattern.
Let's A be a visitor class to a class B: