ROSE 0.11.145.147
|
struct DispatchHandler
Base class for any handlers passed to dispatch
This templated class should be used as a BaseClass for Handlers to be passed to dispatch. "handle" functions will have to be implemented for each possible type to be handled. _ReturnType holds any data that should be returned from the traversal.
Definition at line 181 of file sageGeneric.h.
#include <sageInterface/sageGeneric.h>
Public Types | |
typedef _ReturnType | ReturnType |
typedef DispatchHandler< ReturnType > | Base |
Public Member Functions | |
DispatchHandler (const ReturnType &defaultval) | |
operator ReturnType () const | |
Protected Attributes | |
ReturnType | res |
typedef _ReturnType sg::DispatchHandler< _ReturnType >::ReturnType |
Definition at line 183 of file sageGeneric.h.
typedef DispatchHandler<ReturnType> sg::DispatchHandler< _ReturnType >::Base |
Definition at line 184 of file sageGeneric.h.
|
inline |
Definition at line 186 of file sageGeneric.h.
|
inlineexplicit |
Definition at line 191 of file sageGeneric.h.
|
inline |
Definition at line 195 of file sageGeneric.h.
|
protected |
Definition at line 198 of file sageGeneric.h.