pix_ops_mixin< pixtype, T > Struct Template Reference
#include <Image/PixelsTypes.H>
Detailed Description
template<template< class > class pixtype, class T>
struct pix_ops_mixin< pixtype, T >
A "mix-in" class that injects all arithmetic operators into the class that inherits it.
This is an example of "the curiously recurring template pattern", in which some class, say Foo, inherits from a template class instantiated on Foo, say Mixin<Foo>. In our case, we have the various pixel classes (e.g. PixRGB<T>) inheriting from this mixin class (e.g. pix_ops_mixin<PixRGB<T>, T>).
Definition at line 383 of file PixelsTypes.H.
The documentation for this struct was generated from the following file:
Generated on Sun Nov 22 13:46:11 2009 for iLab Neuromorphic Vision Toolkit by
1.4.4