Property containing a smart-pointer.
More...
#include <mitkSmartPointerProperty.h>
Property containing a smart-pointer.
Definition at line 34 of file mitkSmartPointerProperty.h.
◆ ConstPointer
◆ Pointer
◆ Self
◆ Superclass
◆ ValueType
◆ SmartPointerProperty() [1/2]
mitk::SmartPointerProperty::SmartPointerProperty |
( |
itk::Object * |
= nullptr | ) |
|
|
protected |
◆ SmartPointerProperty() [2/2]
◆ Clone()
Pointer mitk::SmartPointerProperty::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::SmartPointerProperty::GetClassHierarchy |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ GetClassName()
virtual const char* mitk::SmartPointerProperty::GetClassName |
( |
| ) |
const |
|
virtual |
◆ GetReferenceCountFor()
static unsigned int mitk::SmartPointerProperty::GetReferenceCountFor |
( |
itk::Object * |
| ) |
|
|
static |
Return the number of SmartPointerProperties that reference the object given as parameter.
◆ GetReferenceUIDFor()
static std::string mitk::SmartPointerProperty::GetReferenceUIDFor |
( |
itk::Object * |
| ) |
|
|
static |
◆ GetSmartPointer()
itk::Object::Pointer mitk::SmartPointerProperty::GetSmartPointer |
( |
| ) |
const |
◆ GetStaticNameOfClass()
static const char* mitk::SmartPointerProperty::GetStaticNameOfClass |
( |
| ) |
|
|
inlinestatic |
◆ GetValue()
ValueType mitk::SmartPointerProperty::GetValue |
( |
| ) |
const |
◆ GetValueAsString()
std::string mitk::SmartPointerProperty::GetValueAsString |
( |
| ) |
const |
|
overridevirtual |
◆ New() [1/2]
static Pointer mitk::SmartPointerProperty::New |
( |
| ) |
|
|
static |
◆ New() [2/2]
static Pointer mitk::SmartPointerProperty::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.
◆ PostProcessXMLReading()
static void mitk::SmartPointerProperty::PostProcessXMLReading |
( |
| ) |
|
|
static |
◆ RegisterPointerTarget()
static void mitk::SmartPointerProperty::RegisterPointerTarget |
( |
itk::Object * |
, |
|
|
const std::string |
uid |
|
) |
| |
|
static |
◆ SetSmartPointer()
void mitk::SmartPointerProperty::SetSmartPointer |
( |
itk::Object * |
| ) |
|
◆ SetValue()
void mitk::SmartPointerProperty::SetValue |
( |
const ValueType & |
| ) |
|
◆ 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_SmartPointer
itk::Object::Pointer mitk::SmartPointerProperty::m_SmartPointer |
|
protected |
The documentation for this class was generated from the following file: