Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
Property containing a smart-pointer. More...
#include <mitkWeakPointerProperty.h>
Public Types | |
typedef WeakPointerProperty | Self |
typedef BaseProperty | Superclass |
typedef itk::SmartPointer< Self > | Pointer |
typedef itk::SmartPointer< const Self > | ConstPointer |
typedef itk::WeakPointer< itk::Object > | 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 |
virtual | ~WeakPointerProperty () |
ValueType | GetWeakPointer () const |
ValueType | GetValue () const |
void | SetWeakPointer (itk::Object *pointer) |
void | SetValue (const ValueType &value) |
virtual std::string | GetValueAsString () const override |
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 Public Member Functions inherited from mitk::BaseProperty | |
static const char * | GetStaticNameOfClass () |
Protected Member Functions | |
WeakPointerProperty (const WeakPointerProperty &) | |
WeakPointerProperty (itk::Object *pointer=nullptr) | |
Protected Member Functions inherited from mitk::BaseProperty | |
BaseProperty () | |
BaseProperty (const BaseProperty &other) | |
virtual | ~BaseProperty () |
Protected Attributes | |
itk::WeakPointer< itk::Object > | m_WeakPointer |
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 35 of file mitkWeakPointerProperty.h.
typedef itk::SmartPointer<const Self> mitk::WeakPointerProperty::ConstPointer |
Definition at line 38 of file mitkWeakPointerProperty.h.
Definition at line 38 of file mitkWeakPointerProperty.h.
Definition at line 38 of file mitkWeakPointerProperty.h.
Definition at line 38 of file mitkWeakPointerProperty.h.
typedef itk::WeakPointer<itk::Object> mitk::WeakPointerProperty::ValueType |
Definition at line 44 of file mitkWeakPointerProperty.h.
|
virtual |
Definition at line 39 of file mitkWeakPointerProperty.cpp.
|
protected |
Definition at line 34 of file mitkWeakPointerProperty.cpp.
|
protected |
Definition at line 30 of file mitkWeakPointerProperty.cpp.
Pointer mitk::WeakPointerProperty::Clone | ( | ) | const |
|
inlineoverridevirtual |
Reimplemented from mitk::BaseProperty.
Definition at line 38 of file mitkWeakPointerProperty.h.
|
virtual |
Reimplemented from mitk::BaseProperty.
|
inlinestatic |
Definition at line 38 of file mitkWeakPointerProperty.h.
mitk::WeakPointerProperty::ValueType mitk::WeakPointerProperty::GetValue | ( | ) | const |
Definition at line 55 of file mitkWeakPointerProperty.cpp.
|
overridevirtual |
Reimplemented from mitk::BaseProperty.
Definition at line 43 of file mitkWeakPointerProperty.cpp.
mitk::WeakPointerProperty::ValueType mitk::WeakPointerProperty::GetWeakPointer | ( | ) | const |
Definition at line 50 of file mitkWeakPointerProperty.cpp.
|
static |
Referenced by mitk::BaseRenderer::BaseRenderer().
|
inlinestatic |
Definition at line 40 of file mitkWeakPointerProperty.h.
void mitk::WeakPointerProperty::SetValue | ( | const ValueType & | value | ) |
Definition at line 69 of file mitkWeakPointerProperty.cpp.
void mitk::WeakPointerProperty::SetWeakPointer | ( | itk::Object * | pointer | ) |
Definition at line 60 of file mitkWeakPointerProperty.cpp.
|
protected |
Definition at line 57 of file mitkWeakPointerProperty.h.