13 #ifndef mitkIPropertyPersistence_h
14 #define mitkIPropertyPersistence_h
75 bool allowMimeWildCard =
false,
76 bool allowNameRegEx =
true)
const = 0;
92 virtual bool HasInfo(
const std::string &propertyName,
bool allowNameRegEx =
true)
const = 0;
102 virtual void RemoveInfo(
const std::string &propertyName) = 0;
Interface of property persistence service.
virtual void RemoveInfo(const std::string &propertyName)=0
Remove persistence info instances of a specific property name/regex.
virtual void RemoveInfo(const std::string &propertyName, const MimeTypeNameType &mime)=0
Remove persistence info instances of a specific property name/regex and mime type.
std::list< PropertyPersistenceInfo::ConstPointer > InfoResultType
virtual InfoResultType GetInfo(const std::string &propertyName, bool allowNameRegEx=true) const =0
Get the persistence info for a specific base data property.
virtual bool AddInfo(const PropertyPersistenceInfo *info, bool overwrite=false)=0
Add persistence info for a specific base data property. If there is already a property info instance ...
virtual InfoResultType GetInfoByKey(const std::string &persistenceKey, bool allowKeyRegEx=true) const =0
Get the persistence info that will use the specified key.
virtual bool HasInfo(const std::string &propertyName, bool allowNameRegEx=true) const =0
Check if a specific base data property has persistence info.
virtual ~IPropertyPersistence()
virtual InfoResultType GetInfo(const std::string &propertyName, const MimeTypeNameType &mime, bool allowMimeWildCard=false, bool allowNameRegEx=true) const =0
Get the persistence info for a specific base data property and mime type.
PropertyPersistenceInfo::MimeTypeNameType MimeTypeNameType
virtual void RemoveAllInfo()=0
Remove all persistence info.
Property persistence info.
std::string MimeTypeNameType
Type alias for MIME type name strings.
Provides the MITK_DECLARE_SERVICE_INTERFACE macro for registering C++ interfaces with both the CppMic...
#define MITK_DECLARE_SERVICE_INTERFACE(IFace, IId)
Declare a C++ interface for use with CppMicroServices (Qt not available).
Find image slices visible on a given plane.