Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itk::GetDimension< T > Struct Template Reference

#include <itkVectorInterpolateImageFunction.h>

List of all members.

Static Public Attributes

static const int Dimension = T::Dimension

Detailed Description

template<typename T>
struct itk::GetDimension< T >

Due to a bug in MSVC, an enum value cannot be accessed out of a template parameter until the template class opens. In order for templated classes to access the dimension of a template parameter in defining their own dimension, this class is needed as a work-around.

Definition at line 33 of file itkVectorInterpolateImageFunction.h.


Member Data Documentation

template<typename T >
static const int itk::GetDimension< T >::Dimension = T::Dimension [static]

Definition at line 35 of file itkVectorInterpolateImageFunction.h.


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

Generated at Fri Apr 16 22:03:10 2010 for ITK by doxygen 1.6.1 written by Dimitri van Heesch, © 1997-2000