Medical Imaging Interaction Toolkit  2024.12.99-0da743f6
Medical Imaging Interaction Toolkit
mitk::IsoDoseLevelVectorProperty Class Reference

Property class for dose iso level vector. More...

#include <mitkIsoDoseLevelVectorProperty.h>

Inheritance diagram for mitk::IsoDoseLevelVectorProperty:
Collaboration diagram for mitk::IsoDoseLevelVectorProperty:

Public Types

typedef IsoDoseLevelVector 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

 mitkClassMacro (IsoDoseLevelVectorProperty, BaseProperty)
 
 mitkNewMacro1Param (IsoDoseLevelVectorProperty, IsoDoseLevelVector *)
 
 ~IsoDoseLevelVectorProperty () override
 
const IsoDoseLevelVectorGetIsoDoseLevelVector () const
 
const IsoDoseLevelVectorGetValue () const
 
IsoDoseLevelVectorGetIsoDoseLevelVector ()
 
IsoDoseLevelVectorGetValue ()
 
void SetIsoDoseLevelVector (IsoDoseLevelVector *levelVector)
 
void SetValue (IsoDoseLevelVector *levelVector)
 
std::string GetValueAsString () const override
 
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::BaseProperty
virtual std::vector< std::string > GetClassHierarchy () const
 
virtual const char * GetClassName () const
 
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...
 

Static Public Member Functions

static Pointer New ()
 
- Static Public Member Functions inherited from mitk::BaseProperty
static const char * GetStaticNameOfClass ()
 

Protected Member Functions

 IsoDoseLevelVectorProperty ()
 
 IsoDoseLevelVectorProperty (const IsoDoseLevelVectorProperty &other)
 
 IsoDoseLevelVectorProperty (IsoDoseLevelVector *levelVector)
 
- Protected Member Functions inherited from mitk::BaseProperty
 BaseProperty ()
 
 BaseProperty (const BaseProperty &other)
 
 ~BaseProperty () override
 

Protected Attributes

IsoDoseLevelVector::Pointer m_IsoLevelVector
 

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...
 

Detailed Description

Property class for dose iso level vector.

Definition at line 26 of file mitkIsoDoseLevelVectorProperty.h.

Member Typedef Documentation

◆ ValueType

Constructor & Destructor Documentation

◆ IsoDoseLevelVectorProperty() [1/3]

mitk::IsoDoseLevelVectorProperty::IsoDoseLevelVectorProperty ( )
protected

◆ IsoDoseLevelVectorProperty() [2/3]

mitk::IsoDoseLevelVectorProperty::IsoDoseLevelVectorProperty ( const IsoDoseLevelVectorProperty other)
explicitprotected

◆ IsoDoseLevelVectorProperty() [3/3]

mitk::IsoDoseLevelVectorProperty::IsoDoseLevelVectorProperty ( IsoDoseLevelVector levelVector)
explicitprotected

◆ ~IsoDoseLevelVectorProperty()

mitk::IsoDoseLevelVectorProperty::~IsoDoseLevelVectorProperty ( )
override

Member Function Documentation

◆ FromJSON()

bool mitk::IsoDoseLevelVectorProperty::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.

◆ GetIsoDoseLevelVector() [1/2]

IsoDoseLevelVector* mitk::IsoDoseLevelVectorProperty::GetIsoDoseLevelVector ( )

◆ GetIsoDoseLevelVector() [2/2]

const IsoDoseLevelVector* mitk::IsoDoseLevelVectorProperty::GetIsoDoseLevelVector ( ) const

◆ GetValue() [1/2]

IsoDoseLevelVector* mitk::IsoDoseLevelVectorProperty::GetValue ( )

◆ GetValue() [2/2]

const IsoDoseLevelVector* mitk::IsoDoseLevelVectorProperty::GetValue ( ) const

◆ GetValueAsString()

std::string mitk::IsoDoseLevelVectorProperty::GetValueAsString ( ) const
overridevirtual

Reimplemented from mitk::BaseProperty.

◆ mitkClassMacro()

mitk::IsoDoseLevelVectorProperty::mitkClassMacro ( IsoDoseLevelVectorProperty  ,
BaseProperty   
)

◆ mitkNewMacro1Param()

mitk::IsoDoseLevelVectorProperty::mitkNewMacro1Param ( IsoDoseLevelVectorProperty  ,
IsoDoseLevelVector  
)

◆ New()

static Pointer mitk::IsoDoseLevelVectorProperty::New ( )
static

◆ 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.

◆ SetIsoDoseLevelVector()

void mitk::IsoDoseLevelVectorProperty::SetIsoDoseLevelVector ( IsoDoseLevelVector levelVector)

◆ SetValue()

void mitk::IsoDoseLevelVectorProperty::SetValue ( IsoDoseLevelVector levelVector)

◆ ToJSON()

bool mitk::IsoDoseLevelVectorProperty::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.

Member Data Documentation

◆ m_IsoLevelVector

IsoDoseLevelVector::Pointer mitk::IsoDoseLevelVectorProperty::m_IsoLevelVector
protected

Definition at line 30 of file mitkIsoDoseLevelVectorProperty.h.


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