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

itk::GetVectorDimension< TVector > Struct Template Reference

#include <itkFixedArray.h>

List of all members.

Static Public Attributes

static const unsigned int VectorDimension = TVector::Dimension

Detailed Description

template<typename TVector>
struct itk::GetVectorDimension< TVector >

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 vector template parameter in defining their own dimension, this class is needed as a work-around.

Definition at line 37 of file itkFixedArray.h.


Member Data Documentation

template<typename TVector >
const unsigned int itk::GetVectorDimension< TVector >::VectorDimension = TVector::Dimension [static]

Definition at line 39 of file itkFixedArray.h.


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

Generated at Mon Jul 12 2010 22:42:34 for ITK by doxygen 1.7.1 written by Dimitri van Heesch, © 1997-2000