Medical Imaging Interaction Toolkit
2024.06.00
Medical Imaging Interaction Toolkit
|
Go to the documentation of this file.
13 #ifndef mitkPropertyPersistence_h
14 #define mitkPropertyPersistence_h
33 bool allowMimeWildCard,
34 bool allowNameRegEx)
const override;
36 bool HasInfo(
const std::string &propertyName,
bool allowNameRegEx)
const override;
38 void RemoveInfo(
const std::string &propertyName)
override;
42 typedef std::multimap<const std::string, PropertyPersistenceInfo::ConstPointer> InfoMap;
45 using SelectFunctionType = std::function<bool(
const InfoMap::value_type &)>;
46 static InfoMap SelectInfo(
const InfoMap &infoMap,
const SelectFunctionType &selectFunction);
~PropertyPersistence() override
IPropertyPersistence::InfoResultType InfoResultType
InfoResultType GetInfo(const std::string &propertyName, bool allowNameRegEx) const override
Get the persistence info for a specific base data property.
void RemoveAllInfo() override
Remove all persistence info.
void RemoveInfo(const std::string &propertyName) override
Remove persistence info instances of a specific property name/regex.
bool HasInfo(const std::string &propertyName, bool allowNameRegEx) const override
Check if a specific base data property has persistence info.
Find image slices visible on a given plane.
InfoResultType GetInfoByKey(const std::string &persistenceKey, bool allowKeyRegEx) const override
Get the persistence info that will use the specified key.
bool AddInfo(const PropertyPersistenceInfo *info, bool overwrite) override
Add persistence info for a specific base data property. If there is already a property info instance ...
PropertyPersistenceInfo::MimeTypeNameType MimeTypeNameType
std::list< PropertyPersistenceInfo::ConstPointer > InfoResultType
Property persistence info. This class is used to specify the way the persistance of a property of Bas...
Interface of property persistence service.
MITKCORE_EXPORT IPropertyPersistence * CreateTestInstancePropertyPersistence()