Property for strings.
More...
#include <mitkStringProperty.h>
Property for strings.
Definition at line 34 of file mitkStringProperty.h.
◆ ConstPointer
◆ Pointer
◆ Self
◆ Superclass
◆ 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.
◆ GetClassHierarchy()
virtual std::vector<std::string> mitk::StringProperty::GetClassHierarchy |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ GetClassName()
virtual const char* mitk::StringProperty::GetClassName |
( |
| ) |
const |
|
virtual |
◆ GetStaticNameOfClass()
static const char* mitk::StringProperty::GetStaticNameOfClass |
( |
| ) |
|
|
inlinestatic |
◆ GetValue()
virtual const char* mitk::StringProperty::GetValue |
( |
| ) |
const |
|
virtual |
◆ GetValueAsString()
std::string mitk::StringProperty::GetValueAsString |
( |
| ) |
const |
|
overridevirtual |
◆ New() [1/3]
static Pointer mitk::StringProperty::New |
( |
| ) |
|
|
static |
◆ New() [2/3]
static Pointer mitk::StringProperty::New |
( |
const char * |
_arg | ) |
|
|
inlinestatic |
◆ New() [3/3]
static Pointer mitk::StringProperty::New |
( |
const std::string & |
_arg | ) |
|
|
inlinestatic |
◆ 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: