pix_ops_mixin< pixtype, T > Struct Template Reference

A "mix-in" class that injects all arithmetic operators into the class that inherits it. More...

#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 May 8 08:43:38 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3