47 #ifndef _MIRA_NOGENERICREFLECT_H_ 48 #define _MIRA_NOGENERICREFLECT_H_ 85 #define MIRA_NO_GENERIC_REFLECT_MEMBER(Type) \ 86 template<typename Derived> \ 87 void reflect(mira::ReflectorInterface<Derived>& r) \ 89 MIRA_THROW(XNoGenericReflect, "'" << typeName<Type>() \ 90 << "' does not support the reflector '" \ 91 << typeName<Derived>() << "'"); \ 114 #define MIRA_NO_GENERIC_REFLECT(Type) \ 115 template<typename Derived> \ 116 void reflect(mira::ReflectorInterface<Derived>& r, Type& value) \ 118 MIRA_THROW(XNoGenericReflect, "'" << typeName<Type>() \ 119 << "' does not support the reflector '" \ 120 << typeName<Derived>() << "'"); \ specialize cv::DataType for our ImgPixel and inherit from cv::DataType<Vec>
Definition: IOService.h:67
#define MIRA_DEFINE_SERIALIZABLE_EXCEPTION(Ex, Base)
Macro for easily defining a new serializable exception class.
Definition: Exceptions.h:66
Get compiler and platform independent typenames.
Commonly used exception classes.