|
Medical Imaging Interaction Toolkit
2018.4.99-389bf124
Medical Imaging Interaction Toolkit
|
Property containing a smart-pointer. More...
#include <mitkSmartPointerProperty.h>


Public Types | |
| typedef SmartPointerProperty | Self |
| typedef BaseProperty | Superclass |
| typedef itk::SmartPointer< Self > | Pointer |
| typedef itk::SmartPointer< const Self > | ConstPointer |
| typedef itk::Object::Pointer | ValueType |
Public Types inherited from mitk::BaseProperty | |
| typedef BaseProperty | Self |
| typedef itk::Object | Superclass |
| typedef itk::SmartPointer< Self > | Pointer |
| typedef itk::SmartPointer< const Self > | ConstPointer |
Public Member Functions | |
| virtual std::vector< std::string > | GetClassHierarchy () const override |
| virtual const char * | GetClassName () const |
| Pointer | Clone () const |
| itk::Object::Pointer | GetSmartPointer () const |
| ValueType | GetValue () const |
| void | SetSmartPointer (itk::Object *) |
| void | SetValue (const ValueType &) |
| std::string | GetValueAsString () const override |
| mainly for XML output More... | |
Public Member Functions inherited from mitk::BaseProperty | |
| Pointer | Clone () const |
| bool | operator== (const BaseProperty &property) const |
| Subclasses must implement IsEqual(const BaseProperty&) to support comparison. More... | |
| BaseProperty & | operator= (const BaseProperty &property) |
| Assigns property to this BaseProperty instance. More... | |
| bool | AssignProperty (const BaseProperty &property) |
| Assigns property to this BaseProperty instance. More... | |
Static Public Member Functions | |
| static const char * | GetStaticNameOfClass () |
| static Pointer | New () |
| static Pointer | New (itk::Object *_arg) |
| static void | PostProcessXMLReading () |
| static unsigned int | GetReferenceCountFor (itk::Object *) |
| Return the number of SmartPointerProperties that reference the object given as parameter. More... | |
| static std::string | GetReferenceUIDFor (itk::Object *) |
| static void | RegisterPointerTarget (itk::Object *, const std::string uid) |
Static Public Member Functions inherited from mitk::BaseProperty | |
| static const char * | GetStaticNameOfClass () |
Protected Member Functions | |
| SmartPointerProperty (itk::Object *=nullptr) | |
| SmartPointerProperty (const SmartPointerProperty &) | |
Protected Member Functions inherited from mitk::BaseProperty | |
| BaseProperty () | |
| BaseProperty (const BaseProperty &other) | |
| ~BaseProperty () override | |
Protected Attributes | |
| itk::Object::Pointer | m_SmartPointer |
Additional Inherited Members | |
Static Public Attributes inherited from mitk::BaseProperty | |
| static const std::string | VALUE_CANNOT_BE_CONVERTED_TO_STRING |
| Default return value if a property which can not be returned as string. More... | |
Property containing a smart-pointer.
Definition at line 34 of file mitkSmartPointerProperty.h.
| typedef itk::SmartPointer<const Self> mitk::SmartPointerProperty::ConstPointer |
Definition at line 37 of file mitkSmartPointerProperty.h.
Definition at line 37 of file mitkSmartPointerProperty.h.
Definition at line 37 of file mitkSmartPointerProperty.h.
Definition at line 37 of file mitkSmartPointerProperty.h.
| typedef itk::Object::Pointer mitk::SmartPointerProperty::ValueType |
Definition at line 40 of file mitkSmartPointerProperty.h.
|
protected |
Definition at line 75 of file mitkSmartPointerProperty.cpp.
References SetSmartPointer().
|
protected |
Definition at line 80 of file mitkSmartPointerProperty.cpp.
| Pointer mitk::SmartPointerProperty::Clone | ( | ) | const |
|
inlineoverridevirtual |
Reimplemented from mitk::BaseProperty.
Definition at line 37 of file mitkSmartPointerProperty.h.
|
virtual |
Reimplemented from mitk::BaseProperty.
|
static |
Return the number of SmartPointerProperties that reference the object given as parameter.
| object |
Definition at line 35 of file mitkSmartPointerProperty.cpp.
|
static |
Definition at line 52 of file mitkSmartPointerProperty.cpp.
References m_SmartPointer.
| itk::Object::Pointer mitk::SmartPointerProperty::GetSmartPointer | ( | ) | const |
Definition at line 85 of file mitkSmartPointerProperty.cpp.
References m_SmartPointer.
Referenced by mitk::NonBlockingAlgorithm::GetPointerParameter(), and GetValue().
|
inlinestatic |
Definition at line 37 of file mitkSmartPointerProperty.h.
| itk::Object::Pointer mitk::SmartPointerProperty::GetValue | ( | ) | const |
Definition at line 90 of file mitkSmartPointerProperty.cpp.
References GetSmartPointer().
|
overridevirtual |
mainly for XML output
Reimplemented from mitk::BaseProperty.
Definition at line 123 of file mitkSmartPointerProperty.cpp.
References m_SmartPointer.
|
static |
|
inlinestatic |
Definition at line 40 of file mitkSmartPointerProperty.h.
|
static |
Definition at line 21 of file mitkSmartPointerProperty.cpp.
|
static |
Definition at line 47 of file mitkSmartPointerProperty.cpp.
| void mitk::SmartPointerProperty::SetSmartPointer | ( | itk::Object * | pointer | ) |
Definition at line 95 of file mitkSmartPointerProperty.cpp.
References mitk::UIDGenerator::GetUID(), and m_SmartPointer.
Referenced by SetValue(), and SmartPointerProperty().
| void mitk::SmartPointerProperty::SetValue | ( | const ValueType & | value | ) |
Definition at line 118 of file mitkSmartPointerProperty.cpp.
References SetSmartPointer().
|
protected |
Definition at line 66 of file mitkSmartPointerProperty.h.
Referenced by GetReferenceUIDFor(), GetSmartPointer(), GetValueAsString(), and SetSmartPointer().