13 #ifndef mitkPropertyPersistenceInfo_h 14 #define mitkPropertyPersistenceInfo_h 22 #include <itkObjectFactory.h> 40 itkFactorylessNewMacro(
Self);
45 std::string GetKey()
const;
46 void SetName(
const std::string &name);
47 void SetNameAndKey(
const std::string &name,
const std::string &key);
56 void UseRegEx(
const std::string &nameRegEx,
const std::string &nameTemplate);
57 void UseRegEx(
const std::string &nameRegEx,
58 const std::string &nameTemplate,
59 const std::string &keyRegEx,
60 const std::string keyTemplate);
62 const std::string &GetKeyTemplate()
const;
63 const std::string &GetNameTemplate()
const;
97 void PrintSelf(std::ostream &os, itk::Indent indent)
const override;
109 namespace PropertyPersistenceSerialization
115 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
MITKCORE_EXPORT std::ostream & operator<<(std::ostream &o, DataNode::Pointer &dtn)