19 bool mitk::WeakPointerProperty::IsEqual(
const BaseProperty &property)
const
24 bool mitk::WeakPointerProperty::Assign(
const BaseProperty &property)
26 this->m_WeakPointer =
static_cast<const Self &
>(property).m_WeakPointer;
46 ss << m_WeakPointer.GetPointer();
52 return m_WeakPointer.GetPointer();
57 return GetWeakPointer();
62 if (m_WeakPointer.GetPointer() != pointer)
64 m_WeakPointer = pointer;
71 SetWeakPointer(value.GetPointer());
itk::SmartPointer< Self > Pointer
virtual std::string GetValueAsString() const override
void SetValue(const ValueType &value)
DataCollection - Class to facilitate loading/accessing structured data.
Property containing a smart-pointer.
Abstract base class for properties.
ValueType GetValue() const
WeakPointerProperty(const WeakPointerProperty &)
virtual ~WeakPointerProperty()
itk::WeakPointer< itk::Object > ValueType
itk::WeakPointer< itk::Object > m_WeakPointer
ValueType GetWeakPointer() const
void SetWeakPointer(itk::Object *pointer)