go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
Public Member Functions
typelist::VisitDimension< TTypeList, Dimension > Class Template Reference

#include <TypeList.h>

Detailed Description

template<class TTypeList, unsigned int Dimension>
class typelist::VisitDimension< TTypeList, Dimension >

Runs a templated predicate on each type in the list with dimension provided as template parameter.

struct Predicate
{
template<class TType, unsigned int Dimension >
void operator()( void ) const
{ std::cout << typeid(TType).name() << ", " << (unsigned int)(Dimension) << std::endl; }
};

Definition at line 538 of file TypeList.h.

Public Member Functions

template<class Predicate >
void operator() (Predicate &visitor)
 
template<class Predicate >
void operator() (const Predicate &visitor)
 

Member Function Documentation

template<class TTypeList , unsigned int Dimension>
template<class Predicate >
void typelist::VisitDimension< TTypeList, Dimension >::operator() ( Predicate &  visitor)
inline

Definition at line 541 of file TypeList.h.

template<class TTypeList , unsigned int Dimension>
template<class Predicate >
void typelist::VisitDimension< TTypeList, Dimension >::operator() ( const Predicate &  visitor)
inline

Definition at line 552 of file TypeList.h.



Generated on 04-09-2015 for elastix by doxygen 1.8.9.1 elastix logo