28 #ifndef itkSimpleDataObjectDecorator_h
29 #define itkSimpleDataObjectDecorator_h
65 template<
typename T >
87 virtual void Set(
const T & val);
90 virtual T &
Get() {
return m_Component; }
91 virtual const T &
Get()
const {
return m_Component; }
97 void PrintSelf(std::ostream & os,
Indent indent)
const override;
107 #ifndef ITK_MANUAL_INSTANTIATION
108 #include "itkSimpleDataObjectDecorator.hxx"
class ITK_FORWARD_EXPORT DataObject
Decorates any "simple" data type (data types without smart pointers) with a DataObject API...
ComponentType m_Component
Control indentation during Print() invocation.
Base class for most ITK classes.
virtual const T & Get() const
Base class for all data objects in ITK.