OpenStructure
|
#include <dispatch.hh>
Public Member Functions | |
ImageStateBasePtr | operator() (const ImageStateBase *lhs, const ImageStateBase *rhs) |
template<typename T1 , class D1 > | |
ImageStateBasePtr | left (const ImageStateImpl< T1, D1 > *lhs, const ImageStateBase *rhs) |
template<typename T1 , class D1 , typename T2 , class D2 > | |
ImageStateBasePtr | right (const ImageStateImpl< T1, D1 > *lhs, const ImageStateImpl< T2, D2 > *rhs) |
out-of-place binary dispatch
the template parameter is expected to be a class with the following specifications:
template<typename T1, class D1, typename T2, class D2> struct FNC { ImageStateBasePtr operator()(const ImageStateImpl<T1,D1>* lhs, const ImageStateImpl<T2,D2>* rhs); };
The resulting image state is returned.
Note that partial specialization is possible.
Definition at line 214 of file dispatch.hh.
|
inline |
Definition at line 236 of file dispatch.hh.
|
inline |
Definition at line 219 of file dispatch.hh.
|
inline |
Definition at line 250 of file dispatch.hh.