Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
mitk::PropertyListReplacedObserver Class Reference

Observer that gets informed when a PropertyList with a given id is replaced during a Load() process. More...

#include <mitkPropertyListReplacedObserver.h>

Public Member Functions

virtual void BeforePropertyListReplaced (const std::string &id, mitk::PropertyList *propertyList)
 Called before the property list is replaced with new contents. More...
 
virtual void AfterPropertyListReplaced (const std::string &id, mitk::PropertyList *propertyList)
 Called after the property list has been replaced with new contents. More...
 

Detailed Description

Observer that gets informed when a PropertyList with a given id is replaced during a Load() process.

See also
IPersistenceService::AddPropertyListReplacedObserver()

Definition at line 27 of file mitkPropertyListReplacedObserver.h.

Member Function Documentation

◆ AfterPropertyListReplaced()

virtual void mitk::PropertyListReplacedObserver::AfterPropertyListReplaced ( const std::string &  id,
mitk::PropertyList *  propertyList 
)
virtual

Called after the property list has been replaced with new contents.

At this point, propertyList contains the new values.

Parameters
idthe identifier of the property list that was replaced.
propertyListthe property list with new values.

◆ BeforePropertyListReplaced()

virtual void mitk::PropertyListReplacedObserver::BeforePropertyListReplaced ( const std::string &  id,
mitk::PropertyList *  propertyList 
)
virtual

Called before the property list is replaced with new contents.

At this point, propertyList still contains the old values.

Parameters
idthe identifier of the property list being replaced.
propertyListthe property list that is about to be replaced.

The documentation for this class was generated from the following file: