|
Medical Imaging Interaction Toolkit
2026.06.00
Medical Imaging Interaction Toolkit
|
Deserializes a version 1 mitk::PropertyList from an XML file. More...
#include <mitkPropertyListDeserializerV1.h>


Public Member Functions | |
| mitkClassMacro (PropertyListDeserializerV1, PropertyListDeserializer) | |
| Pointer | Clone () const |
| bool | Deserialize () override |
| Read a version 1 PropertyList from the configured XML file. More... | |
Public Member Functions inherited from mitk::PropertyListDeserializer | |
| mitkClassMacroItkParent (PropertyListDeserializer, itk::Object) | |
| Pointer | Clone () const |
| virtual void | SetFilename (const char *_arg) |
| Set the filename of the XML file to deserialize. More... | |
| virtual const char * | GetFilename () const |
| Get the filename of the XML file to deserialize. More... | |
| virtual PropertyList::Pointer | GetOutput () |
| Retrieve the deserialized PropertyList. More... | |
Static Public Member Functions | |
| static Pointer | New () |
Static Public Member Functions inherited from mitk::PropertyListDeserializer | |
| static Pointer | New () |
Protected Member Functions | |
| PropertyListDeserializerV1 () | |
| ~PropertyListDeserializerV1 () override | |
Protected Member Functions inherited from mitk::PropertyListDeserializer | |
| PropertyListDeserializer () | |
| ~PropertyListDeserializer () override | |
Additional Inherited Members | |
Protected Attributes inherited from mitk::PropertyListDeserializer | |
| std::string | m_Filename |
| Path to the XML file to deserialize. More... | |
| PropertyList::Pointer | m_PropertyList |
| The deserialized property list. More... | |
Deserializes a version 1 mitk::PropertyList from an XML file.
Implements the deserialization logic for property list XML files with FileVersion 1. Iterates over all <property> elements in the XML, looks up the appropriate BasePropertySerializer for each property type via the ITK object factory, and reassembles the PropertyList. The result can be retrieved via GetOutput().
This class is registered with the ITK object factory using MITK_REGISTER_SERIALIZER so it can be discovered automatically by PropertyListDeserializer.
Definition at line 35 of file mitkPropertyListDeserializerV1.h.
|
protected |
|
overrideprotected |
| Pointer mitk::PropertyListDeserializerV1::Clone | ( | ) | const |
|
overridevirtual |
Read a version 1 PropertyList from the configured XML file.
Parses each <property> element, instantiates the corresponding serializer based on the type attribute, and deserializes the property value. The resulting PropertyList can be retrieved via GetOutput().
Reimplemented from mitk::PropertyListDeserializer.
| mitk::PropertyListDeserializerV1::mitkClassMacro | ( | PropertyListDeserializerV1 | , |
| PropertyListDeserializer | |||
| ) |
|
static |