#include <visitor.hpp>
Put it in every class that you want to make visitable (in addition to deriving it from VisitableBase<R>
Public Types | |
typedef R | return_type |
![]() | |
typedef R | return_type |
Public Member Functions | |
template<class Visited > | |
return_type | genericVisit (Visited *host) |
template<class Visited > | |
return_type | genericVisit (Visited &host) |
![]() | |
virtual | ~Visitor () |
virtual base destructor | |
virtual return_type | visit (TList *)=0 |
visit a data structure | |
return_type | visit (TList &__t) |
visit a data structure | |