Feel++  0.91.4
Public Types | Public Member Functions | Static Protected Member Functions | List of all members
Feel::VisitableBase< R, CatchAll > Class Template Referenceabstract

Public Types

typedef R return_type
 

Public Member Functions

virtual return_type accept (VisitorBase &)=0
 accept visitor: use S_DEFINE_VISITABLE() to redefine it
 
virtual return_type accept (VisitorBase *)=0
 accept visitor: use S_DEFINE_VISITABLE() to redefine it
 

Static Protected Member Functions

template<class T >
static return_type acceptImpl (T *visited, VisitorBase *guest)
 

Member Function Documentation

template<typename R = void, template< class, class > class CatchAll = VisitableCatchAllDefault>
template<class T >
static return_type Feel::VisitableBase< R, CatchAll >::acceptImpl ( T *  visited,
VisitorBase guest 
)
inlinestaticprotected

give access only to the hierarchy

Returns
the return type object of the visitor