|
Medical Imaging Interaction Toolkit
2025.12.02
Medical Imaging Interaction Toolkit
|
#include <mitkProperties.h>


Public Member Functions | |
| mitkClassMacro (UIntProperty, GenericProperty< unsigned int >) | |
| Pointer | Clone () const |
| mitkNewMacro1Param (UIntProperty, unsigned int) | |
| 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... | |
Public Member Functions inherited from mitk::GenericProperty< unsigned int > | |
| mitkClassMacro (GenericProperty, BaseProperty) | |
| mitkNewMacro1Param (GenericProperty< unsigned int >, unsigned int) | |
| Pointer | Clone () const |
| virtual void | SetValue (unsigned int _arg) |
| virtual unsigned int | 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... | |
Public Member Functions inherited from mitk::BaseProperty | |
| mitkClassMacroItkParent (BaseProperty, itk::Object) | |
| 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 Pointer | New () |
Protected Member Functions | |
| UIntProperty () | |
| UIntProperty (const UIntProperty &) | |
| UIntProperty (unsigned int x) | |
Protected Member Functions inherited from mitk::GenericProperty< unsigned int > | |
| GenericProperty () | |
| GenericProperty (unsigned int x) | |
| GenericProperty (const GenericProperty &other) | |
Protected Member Functions inherited from mitk::BaseProperty | |
| BaseProperty () | |
| BaseProperty (const BaseProperty &other) | |
| ~BaseProperty () override | |
Additional Inherited Members | |
Public Types inherited from mitk::GenericProperty< unsigned int > | |
| typedef unsigned int | ValueType |
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... | |
Protected Attributes inherited from mitk::GenericProperty< unsigned int > | |
| unsigned int | m_Value |
Definition at line 26 of file mitkProperties.h.
|
protected |
|
protected |
|
protected |
| Pointer mitk::UIntProperty::Clone | ( | ) | const |
|
overridevirtual |
Deserialize property value(s) from JSON.
Rely on exceptions for error handling when implementing deserialization.
Implements mitk::BaseProperty.
| mitk::UIntProperty::mitkClassMacro | ( | UIntProperty | , |
| GenericProperty< unsigned int > | |||
| ) |
| mitk::UIntProperty::mitkNewMacro1Param | ( | UIntProperty | , |
| unsigned int | |||
| ) |
|
static |
| 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.