71 m_Data =
static_cast<T *
>( x.
m_Data->Clone().GetPointer() );
73 std::cout <<
"Create Another" << std::endl;
74 m_Data =
static_cast<T *
>( x.
m_Data->CreateAnother().GetPointer() );
141 template <
typename T>
151 m_Data = ITK_NULLPTR;
160 m_Data =
static_cast<T *
>( rhs.
m_Data->Clone().GetPointer() );
162 m_Data =
static_cast<T *
>( rhs.
m_Data->CreateAnother().GetPointer() );
169 m_Data = ITK_NULLPTR;
178 #endif // #ifndef itkFEMP_h
Pointer used to store polymorphic elements in STL arrays.
const FEMP< T > & operator=(const FEMP< T > &rhs)
FEMP(typename T::Pointer x)
T::Pointer operator->() const