Medical Imaging Interaction Toolkit
2024.12.99-0da743f6
Medical Imaging Interaction Toolkit
|
#include <mitkProperties.h>
Public Types | |
typedef StringLookupTableProperty | Self |
typedef GenericProperty< StringLookupTable > | Superclass |
typedef itk::SmartPointer< Self > | Pointer |
typedef itk::SmartPointer< const Self > | ConstPointer |
![]() | |
typedef GenericProperty | Self |
typedef BaseProperty | Superclass |
typedef itk::SmartPointer< Self > | Pointer |
typedef itk::SmartPointer< const Self > | ConstPointer |
typedef StringLookupTable | ValueType |
![]() | |
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 |
bool | ToJSON (nlohmann::json &j) const override |
Serialize property value(s) to JSON. More... | |
bool | FromJSON (const nlohmann::json &j) override |
Deserialize property value(s) from JSON. More... | |
BaseProperty & | operator= (const BaseProperty &property) |
Assigns property to this BaseProperty instance. More... | |
![]() | |
virtual std::vector< std::string > | GetClassHierarchy () const override |
virtual const char * | GetClassName () const |
Pointer | Clone () const |
virtual void | SetValue (StringLookupTable _arg) |
virtual StringLookupTable | GetValue () const |
std::string | GetValueAsString () const override |
bool | ToJSON (nlohmann::json &) const override |
Serialize property value(s) to JSON. More... | |
bool | FromJSON (const nlohmann::json &) override |
Deserialize property value(s) from JSON. More... | |
BaseProperty & | operator= (const BaseProperty &property) |
Assigns property to this BaseProperty instance. More... | |
![]() | |
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... | |
virtual std::string | GetValueAsString () const |
Static Public Member Functions | |
static const char * | GetStaticNameOfClass () |
static Pointer | New () |
static Pointer | New (StringLookupTable _arg) |
![]() | |
static const char * | GetStaticNameOfClass () |
static Pointer | New (StringLookupTable _arg) |
![]() | |
static const char * | GetStaticNameOfClass () |
Protected Member Functions | |
StringLookupTableProperty () | |
StringLookupTableProperty (const StringLookupTableProperty &) | |
StringLookupTableProperty (StringLookupTable x) | |
![]() | |
GenericProperty () | |
GenericProperty (StringLookupTable x) | |
GenericProperty (const GenericProperty &other) | |
![]() | |
BaseProperty () | |
BaseProperty (const BaseProperty &other) | |
~BaseProperty () override | |
Additional Inherited Members | |
![]() | |
static const std::string | VALUE_CANNOT_BE_CONVERTED_TO_STRING |
Default return value if a property which can not be returned as string. More... | |
![]() | |
StringLookupTable | m_Value |
Definition at line 47 of file mitkProperties.h.
typedef itk::SmartPointer<const Self> mitk::StringLookupTableProperty::ConstPointer |
Definition at line 47 of file mitkProperties.h.
Definition at line 47 of file mitkProperties.h.
Definition at line 47 of file mitkProperties.h.
Definition at line 47 of file mitkProperties.h.
|
protected |
|
protected |
|
protected |
Pointer mitk::StringLookupTableProperty::Clone | ( | ) | const |
|
overridevirtual |
Deserialize property value(s) from JSON.
Rely on exceptions for error handling when implementing deserialization.
Implements mitk::BaseProperty.
|
inlineoverridevirtual |
Reimplemented from mitk::BaseProperty.
Definition at line 47 of file mitkProperties.h.
|
virtual |
Reimplemented from mitk::BaseProperty.
|
inlinestatic |
Definition at line 47 of file mitkProperties.h.
|
static |
|
inlinestatic |
Definition at line 47 of file mitkProperties.h.
BaseProperty& mitk::BaseProperty::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.
|
overridevirtual |
Serialize property value(s) to JSON.
Rely on exceptions for error handling when implementing serialization.
Implements mitk::BaseProperty.