17 #ifndef mitkPropertyPersistenceInfo_h
18 #define mitkPropertyPersistenceInfo_h
26 #include <itkObjectFactory.h>
48 std::
string GetKey() const;
49 void SetName(const
std::
string &name);
50 void SetNameAndKey(const
std::
string &name, const
std::
string &key);
59 void UseRegEx(const
std::
string &nameRegEx, const
std::
string &nameTemplate);
60 void UseRegEx(const
std::
string &nameRegEx,
61 const
std::
string &nameTemplate,
62 const
std::
string &keyRegEx,
63 const
std::
string keyTemplate);
65 const
std::
string &GetKeyTemplate() const;
66 const
std::
string &GetNameTemplate() const;
100 virtual
void PrintSelf(
std::ostream &os,
itk::Indent indent) const override;
103 PropertyPersistenceInfo(const Self &other);
104 Self &operator=(const Self &other);
112 namespace PropertyPersistenceSerialization
118 namespace PropertyPersistenceDeserialization
#define mitkNewMacro1Param(classname, type)
std::string MimeTypeNameType
MITKCORE_EXPORT::std::string serializeByGetValueAsString(const mitk::BaseProperty *prop)
DataCollection - Class to facilitate loading/accessing structured data.
MITKCORE_EXPORT mitk::BaseProperty::Pointer deserializeToStringProperty(const std::string &value)
#define mitkNewMacro2Param(classname, typea, typeb)
static void info(const char *fmt,...)
Abstract base class for properties.
Property persistence info. This class is used to specify the way the persistance of a property of Bas...
std::function< mitk::BaseProperty::Pointer(const std::string &)> DeserializationFunctionType
#define mitkClassMacroItkParent(className, SuperClassName)
static std::string GetName(std::string fileName, std::string suffix)
std::function< std::string(const mitk::BaseProperty *)> SerializationFunctionType