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() (const Predicate &visitor)
 
template<class Predicate >
void operator() (Predicate &visitor)
 

Member Function Documentation

◆ operator()() [1/2]

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.

◆ operator()() [2/2]

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.

typelist::TypeList
The building block of typelists of any length.
Definition: TypeList.h:83
typelist::VisitDimension::operator()
void operator()(Predicate &visitor)
Definition: TypeList.h:541
typelist::VisitDimension
Runs a templated predicate on each type in the list with dimension provided as template parameter.
Definition: TypeList.h:539
int


Generated on OURCE_DATE_EPOCH for elastix by doxygen 1.8.18 elastix logo