SimpleITK  
Public Types | Static Public Attributes | Private Types | List of all members
itk::simple::ConditionalValue< VCond, TIfTrue, TIfFalse > Struct Template Reference

#include <sitkConditional.h>

Detailed Description

template<bool VCond, int TIfTrue, int TIfFalse>
struct itk::simple::ConditionalValue< VCond, TIfTrue, TIfFalse >

Definition at line 36 of file sitkConditional.h.

Public Types

using Type = typename ConditionalType::type
 
using ValueType = typename ConditionalType::value_type
 

Static Public Attributes

static const ValueType Value = ConditionalType::value
 

Private Types

typedef std::conditional< VCond, std::integral_constant< int, TIfTrue >, std::integral_constant< int, TIfFalse > >::type ConditionalType
 
using Self = ConditionalValue
 

Member Typedef Documentation

◆ ConditionalType

template<bool VCond, int TIfTrue, int TIfFalse>
typedef std::conditional<VCond, std::integral_constant<int, TIfTrue>, std::integral_constant<int, TIfFalse> >::type itk::simple::ConditionalValue< VCond, TIfTrue, TIfFalse >::ConditionalType
private

Definition at line 42 of file sitkConditional.h.

◆ Self

template<bool VCond, int TIfTrue, int TIfFalse>
using itk::simple::ConditionalValue< VCond, TIfTrue, TIfFalse >::Self = ConditionalValue
private

Definition at line 39 of file sitkConditional.h.

◆ Type

template<bool VCond, int TIfTrue, int TIfFalse>
using itk::simple::ConditionalValue< VCond, TIfTrue, TIfFalse >::Type = typename ConditionalType::type

Definition at line 45 of file sitkConditional.h.

◆ ValueType

template<bool VCond, int TIfTrue, int TIfFalse>
using itk::simple::ConditionalValue< VCond, TIfTrue, TIfFalse >::ValueType = typename ConditionalType::value_type

Definition at line 46 of file sitkConditional.h.

Member Data Documentation

◆ Value

template<bool VCond, int TIfTrue, int TIfFalse>
const ValueType itk::simple::ConditionalValue< VCond, TIfTrue, TIfFalse >::Value = ConditionalType::value
static

Definition at line 48 of file sitkConditional.h.


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