degate  0.1.2
Public Member Functions | Static Public Member Functions
degate::assert_is_multi_channel_image< ImageType > Struct Template Reference

Compile time check for multi channel image types. More...

#include <TypeConstraints.h>

List of all members.

Public Member Functions

 assert_is_multi_channel_image ()

Static Public Member Functions

static void constraints (ImageType img)

Detailed Description

template<class ImageType>
struct degate::assert_is_multi_channel_image< ImageType >

Compile time check for multi channel image types.

Definition at line 58 of file TypeConstraints.h.


Constructor & Destructor Documentation

template<class ImageType>
degate::assert_is_multi_channel_image< ImageType >::assert_is_multi_channel_image ( ) [inline]

Definition at line 63 of file TypeConstraints.h.

References degate::assert_is_multi_channel_image< ImageType >::constraints(), and degate::ignore_unused_variable_warning().

                                    {
      void(*p)(ImageType) = constraints;
      ignore_unused_variable_warning(p);
    }

Here is the call graph for this function:


Member Function Documentation

template<class ImageType>
static void degate::assert_is_multi_channel_image< ImageType >::constraints ( ImageType  img) [inline, static]

Definition at line 59 of file TypeConstraints.h.

Referenced by degate::assert_is_multi_channel_image< ImageType >::assert_is_multi_channel_image().

                                           {
      typedef typename ImageType::pixel_policy PolicyType;
      PolicyType::is_multi_channel();
    }

Here is the caller graph for this function:


The documentation for this struct was generated from the following file: