28 #ifndef itkAutoPointerDataObjectDecorator_h
29 #define itkAutoPointerDataObjectDecorator_h
60 template<
typename T >
83 virtual void Set(T *val);
86 virtual T *
Get() {
return m_Component.get(); }
87 virtual const T *
Get()
const {
return m_Component.get(); }
93 void PrintSelf(std::ostream & os,
Indent indent)
const override;
102 #ifndef ITK_MANUAL_INSTANTIATION
103 #include "itkAutoPointerDataObjectDecorator.hxx"
Decorates any pointer to a simple object with a DataObject API using AutoPointer semantics.
std::unique_ptr< T > ComponentPointer
virtual const T * Get() const
class ITK_FORWARD_EXPORT DataObject
ComponentPointer m_Component
Control indentation during Print() invocation.
Base class for all data objects in ITK.