17 #ifndef MITKWEAKPOINTERPROPERTY_H_HEADER_INCLUDED_C126B791
18 #define MITKWEAKPOINTERPROPERTY_H_HEADER_INCLUDED_C126B791
20 #include "itkWeakPointer.h"
28 #pragma warning(disable : 4522)
42 virtual ~WeakPointerProperty();
46 ValueType GetWeakPointer() const;
47 ValueType GetValue() const;
49 void SetWeakPointer(
itk::Object *pointer);
50 void SetValue(const ValueType &value);
52 virtual
std::
string GetValueAsString() const override;
59 WeakPointerProperty(const WeakPointerProperty &);
61 WeakPointerProperty(
itk::Object *pointer =
nullptr);
65 WeakPointerProperty &operator=(const WeakPointerProperty &);
67 itk::LightObject::
Pointer InternalClone() const override;
69 virtual
bool IsEqual(const
BaseProperty &property) const override;
70 virtual
bool Assign(const
BaseProperty &property) override;
#define mitkNewMacro1Param(classname, type)
DataCollection - Class to facilitate loading/accessing structured data.
Property containing a smart-pointer.
Abstract base class for properties.
#define mitkClassMacro(className, SuperClassName)
Implements a weak reference to an object.
itk::WeakPointer< itk::Object > ValueType