MCPcopy Create free account
hub / github.com/SimpleITK/SimpleITK / CastAddressor

Class CastAddressor

Code/BasicFilters/include/sitkCastImageFilter.h:109–119  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

107 */
108 template <class TMemberFunctionPointer>
109 struct CastAddressor
110 {
111 using ObjectType = typename ::detail::FunctionTraits<TMemberFunctionPointer>::ClassType;
112
113 template <typename TImageType1, typename TImageType2>
114 constexpr TMemberFunctionPointer
115 operator()() const
116 {
117 return &ObjectType::template ExecuteInternalCast<TImageType1, TImageType2>;
118 }
119 };
120
121 /** An addressor of ExecuteInternalToVector to be utilized with
122 * registering member functions with the factory.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected