13 #ifndef mitkPropertyListsXmlFileReaderAndWriter_h
14 #define mitkPropertyListsXmlFileReaderAndWriter_h
56 itkFactorylessNewMacro(Self);
71 const std::map<std::string, mitk::PropertyList::Pointer> &_PropertyLists)
const;
84 std::map<std::string, mitk::PropertyList::Pointer> &_PropertyLists)
const;
90 bool PropertyFromXmlElem(std::string &name, mitk::BaseProperty::Pointer &prop,
const tinyxml2::XMLElement *elem)
const;
Abstract base class for properties.
Reads and writes collections of named PropertyList objects to and from XML files.
mitkClassMacroItkParent(PropertyListsXmlFileReaderAndWriter, itk::Object)
bool PropertyFromXmlElem(std::string &name, mitk::BaseProperty::Pointer &prop, const tinyxml2::XMLElement *elem) const
static const char * GetPropertyListIdElementName()
Get the XML attribute name used for PropertyList identifiers.
bool WriteLists(const std::string &fileName, const std::map< std::string, mitk::PropertyList::Pointer > &_PropertyLists) const
Write a map of PropertyLists to an XML file.
PropertyListsXmlFileReaderAndWriter()
~PropertyListsXmlFileReaderAndWriter() override
bool ReadLists(const std::string &fileName, std::map< std::string, mitk::PropertyList::Pointer > &_PropertyLists) const
Read a map of PropertyLists from an XML file.
bool PropertyToXmlElem(const std::string &name, const mitk::BaseProperty *prop, tinyxml2::XMLElement *elem) const
Find image slices visible on a given plane.