Property for strings.
More...
#include <mitkStringProperty.h>
Property for strings.
Definition at line 34 of file mitkStringProperty.h.
◆ ValueType
◆ StringProperty() [1/3]
| mitk::StringProperty::StringProperty |
( |
const char * |
string = nullptr | ) |
|
|
protected |
◆ StringProperty() [2/3]
| mitk::StringProperty::StringProperty |
( |
const std::string & |
s | ) |
|
|
protected |
◆ StringProperty() [3/3]
◆ Clone()
| Pointer mitk::StringProperty::Clone |
( |
| ) |
const |
◆ FromJSON()
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.
◆ GetValue()
| virtual const char* mitk::StringProperty::GetValue |
( |
| ) |
const |
|
virtual |
◆ GetValueAsString()
| std::string mitk::StringProperty::GetValueAsString |
( |
| ) |
const |
|
overridevirtual |
◆ mitkClassMacro()
◆ mitkNewMacro1Param() [1/2]
| mitk::StringProperty::mitkNewMacro1Param |
( |
StringProperty |
, |
|
|
const char * |
|
|
) |
| |
◆ mitkNewMacro1Param() [2/2]
| mitk::StringProperty::mitkNewMacro1Param |
( |
StringProperty |
, |
|
|
const std::string & |
|
|
) |
| |
◆ New()
| static Pointer mitk::StringProperty::New |
( |
| ) |
|
|
static |
◆ 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.
◆ SetValue()
| virtual void mitk::StringProperty::SetValue |
( |
const char * |
_arg | ) |
|
|
virtual |
◆ ToJSON()
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.
◆ m_Value
| std::string mitk::StringProperty::m_Value |
|
protected |
◆ PATH
| const char* mitk::StringProperty::PATH |
|
static |
The documentation for this class was generated from the following file: