ROSE
0.11.96.11
|
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 117 of file sageGeneric.h.
#include <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 |