Medical Imaging Interaction Toolkit  2023.12.99-3b10b122
Medical Imaging Interaction Toolkit
mitk::StringLookupTableProperty Class Reference

#include <mitkProperties.h>

Inheritance diagram for mitk::StringLookupTableProperty:
Collaboration diagram for mitk::StringLookupTableProperty:

Public Types

typedef StringLookupTableProperty Self
 
typedef GenericProperty< StringLookupTableSuperclass
 
typedef itk::SmartPointer< SelfPointer
 
typedef itk::SmartPointer< const SelfConstPointer
 
- Public Types inherited from mitk::GenericProperty< StringLookupTable >
typedef GenericProperty Self
 
typedef BaseProperty Superclass
 
typedef itk::SmartPointer< SelfPointer
 
typedef itk::SmartPointer< const SelfConstPointer
 
typedef StringLookupTable ValueType
 
- Public Types inherited from mitk::BaseProperty
typedef BaseProperty Self
 
typedef itk::Object Superclass
 
typedef itk::SmartPointer< SelfPointer
 
typedef itk::SmartPointer< const SelfConstPointer
 

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...
 
BasePropertyoperator= (const BaseProperty &property)
 Assigns property to this BaseProperty instance. More...
 
- Public Member Functions inherited from mitk::GenericProperty< StringLookupTable >
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...
 
BasePropertyoperator= (const BaseProperty &property)
 Assigns property to this BaseProperty instance. 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...
 
BasePropertyoperator= (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 Public Member Functions inherited from mitk::GenericProperty< StringLookupTable >
static const char * GetStaticNameOfClass ()
 
static Pointer New (StringLookupTable _arg)
 
- Static Public Member Functions inherited from mitk::BaseProperty
static const char * GetStaticNameOfClass ()
 

Protected Member Functions

 StringLookupTableProperty ()
 
 StringLookupTableProperty (const StringLookupTableProperty &)
 
 StringLookupTableProperty (StringLookupTable x)
 
- Protected Member Functions inherited from mitk::GenericProperty< StringLookupTable >
 GenericProperty ()
 
 GenericProperty (StringLookupTable x)
 
 GenericProperty (const GenericProperty &other)
 
- Protected Member Functions inherited from mitk::BaseProperty
 BaseProperty ()
 
 BaseProperty (const BaseProperty &other)
 
 ~BaseProperty () override
 

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...
 
- Protected Attributes inherited from mitk::GenericProperty< StringLookupTable >
StringLookupTable m_Value
 

Detailed Description

Definition at line 47 of file mitkProperties.h.

Member Typedef Documentation

◆ ConstPointer

◆ Pointer

◆ Self

◆ Superclass

Constructor & Destructor Documentation

◆ StringLookupTableProperty() [1/3]

mitk::StringLookupTableProperty::StringLookupTableProperty ( )
protected

◆ StringLookupTableProperty() [2/3]

mitk::StringLookupTableProperty::StringLookupTableProperty ( const StringLookupTableProperty )
protected

◆ StringLookupTableProperty() [3/3]

mitk::StringLookupTableProperty::StringLookupTableProperty ( StringLookupTable  x)
protected

Member Function Documentation

◆ Clone()

Pointer mitk::StringLookupTableProperty::Clone ( ) const

◆ FromJSON()

bool mitk::StringLookupTableProperty::FromJSON ( const nlohmann::json j)
overridevirtual

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::StringLookupTableProperty::GetClassHierarchy ( ) const
inlineoverridevirtual

Reimplemented from mitk::BaseProperty.

Definition at line 47 of file mitkProperties.h.

◆ GetClassName()

virtual const char* mitk::StringLookupTableProperty::GetClassName ( ) const
virtual

Reimplemented from mitk::BaseProperty.

◆ GetStaticNameOfClass()

static const char* mitk::StringLookupTableProperty::GetStaticNameOfClass ( )
inlinestatic

Definition at line 47 of file mitkProperties.h.

◆ New() [1/2]

static Pointer mitk::StringLookupTableProperty::New ( )
static

◆ New() [2/2]

static Pointer mitk::StringLookupTableProperty::New ( StringLookupTable  _arg)
inlinestatic

Definition at line 47 of file mitkProperties.h.

◆ operator=()

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.

◆ ToJSON()

bool mitk::StringLookupTableProperty::ToJSON ( nlohmann::json j) const
overridevirtual

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.


The documentation for this class was generated from the following file: