#include <functor.h>
◆ result_type
template<typename R , typename... Args>
the result type of this functor
◆ can_dispatch()
template<typename R , typename... Args>
Whether the functor can dispatch the corresponding Node.
- Parameters
-
n | The node to be dispatched |
- Returns
- Whether dispatching function is registered for n's type.
◆ clear_dispatch()
template<typename R , typename... Args>
template<typename TNode >
unset the dispatcher for type TNode
- Template Parameters
-
TNode | the type of Node to be dispatched. |
- Returns
- reference to self.
◆ operator()()
template<typename R , typename... Args>
invoke the functor, dispatch on type of n
- Parameters
-
n | The Node argument |
args | The additional arguments |
- Returns
- The result.
◆ set_dispatch()
template<typename R , typename... Args>
template<typename TNode >
set the dispatcher for type TNode
- Parameters
-
- Template Parameters
-
TNode | the type of Node to be dispatched. |
- Returns
- reference to self.
The documentation for this class was generated from the following file: