Template Struct DispatchHandler#
Defined in File sageGeneric.h
Struct Documentation#
-
template<class _ReturnType>
struct DispatchHandler# 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.
Public Functions
-
inline DispatchHandler()#
-
inline explicit DispatchHandler(const ReturnType &defaultval)#
-
inline operator ReturnType() const#
Protected Attributes
-
ReturnType res#
-
inline DispatchHandler()#