28 #ifndef itkAutoPointerDataObjectDecorator_h
29 #define itkAutoPointerDataObjectDecorator_h
60 template<
typename T >
81 virtual void Set(T *val);
84 virtual T *
Get() {
return m_Component.get(); }
85 virtual const T *
Get()
const {
return m_Component.get(); }
91 virtual
void PrintSelf(std::ostream & os,
Indent indent) const ITK_OVERRIDE;
102 #ifndef ITK_MANUAL_INSTANTIATION
103 #include "itkAutoPointerDataObjectDecorator.hxx"
SmartPointer< const Self > ConstPointer
Decorates any pointer to a simple object with a DataObject API using AutoPointer semantics.
std::auto_ptr< T > ComponentPointer
virtual const T * Get() const
SmartPointer< Self > Pointer
AutoPointerDataObjectDecorator Self
Control indentation during Print() invocation.
Base class for all data objects in ITK.