13 #ifndef mitkStringProperty_h
14 #define mitkStringProperty_h
16 #include <itkConfigure.h>
27 #pragma warning(disable : 4522)
48 itkFactorylessNewMacro(Self);
53 itkGetStringMacro(Value);
54 itkSetStringMacro(Value);
63 using BaseProperty::operator=;
69 itk::LightObject::Pointer InternalClone()
const override;
71 bool IsEqual(
const BaseProperty &property)
const override;
Abstract base class for properties.
StringProperty(const StringProperty &)
mitkClassMacro(StringProperty, BaseProperty)
StringProperty(const char *string=nullptr)
bool FromJSON(const nlohmann::json &j) override
Deserialize property value(s) from JSON.
StringProperty(const std::string &s)
mitkNewMacro1Param(StringProperty, const std::string &)
mitkNewMacro1Param(StringProperty, const char *)
bool ToJSON(nlohmann::json &j) const override
Serialize property value(s) to JSON.
std::string GetValueAsString() const override
Find image slices visible on a given plane.