Property containing a smart-pointer.
More...
#include <mitkWeakPointerProperty.h>
Property containing a smart-pointer.
Definition at line 31 of file mitkWeakPointerProperty.h.
◆ ConstPointer
◆ Pointer
◆ Self
◆ Superclass
◆ ValueType
◆ ~WeakPointerProperty()
mitk::WeakPointerProperty::~WeakPointerProperty |
( |
| ) |
|
|
override |
◆ WeakPointerProperty() [1/2]
◆ WeakPointerProperty() [2/2]
mitk::WeakPointerProperty::WeakPointerProperty |
( |
itk::Object * |
pointer = nullptr | ) |
|
|
protected |
◆ Clone()
Pointer mitk::WeakPointerProperty::Clone |
( |
| ) |
const |
◆ FromJSON()
Deserialize property value(s) from JSON.
Rely on exceptions for error handling when implementing deserialization.
- Returns
- False if not deserializable by design, true otherwise.
Implements mitk::BaseProperty.
◆ GetClassHierarchy()
virtual std::vector<std::string> mitk::WeakPointerProperty::GetClassHierarchy |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ GetClassName()
virtual const char* mitk::WeakPointerProperty::GetClassName |
( |
| ) |
const |
|
virtual |
◆ GetStaticNameOfClass()
static const char* mitk::WeakPointerProperty::GetStaticNameOfClass |
( |
| ) |
|
|
inlinestatic |
◆ GetValue()
ValueType mitk::WeakPointerProperty::GetValue |
( |
| ) |
const |
◆ GetValueAsString()
std::string mitk::WeakPointerProperty::GetValueAsString |
( |
| ) |
const |
|
overridevirtual |
◆ GetWeakPointer()
ValueType mitk::WeakPointerProperty::GetWeakPointer |
( |
| ) |
const |
◆ New() [1/2]
static Pointer mitk::WeakPointerProperty::New |
( |
| ) |
|
|
static |
◆ New() [2/2]
static Pointer mitk::WeakPointerProperty::New |
( |
itk::Object * |
_arg | ) |
|
|
inlinestatic |
◆ operator=()
Assigns property to this BaseProperty instance.
Subclasses must implement Assign(const BaseProperty&) and call the superclass Assign method for proper handling of polymorphic assignments. The assignment operator of the subclass should be disabled and the baseclass operator should be made visible using "using" statements.
◆ SetValue()
void mitk::WeakPointerProperty::SetValue |
( |
const ValueType & |
value | ) |
|
◆ SetWeakPointer()
void mitk::WeakPointerProperty::SetWeakPointer |
( |
itk::Object * |
pointer | ) |
|
◆ ToJSON()
Serialize property value(s) to JSON.
Rely on exceptions for error handling when implementing serialization.
- Returns
- False if not serializable by design, true otherwise.
Implements mitk::BaseProperty.
◆ m_WeakPointer
itk::WeakPointer<itk::Object> mitk::WeakPointerProperty::m_WeakPointer |
|
protected |
The documentation for this class was generated from the following file: