Medical Imaging Interaction Toolkit  2023.12.00
Medical Imaging Interaction Toolkit
berry::IPersistable Struct Referenceabstract

#include <berryIPersistable.h>

Inheritance diagram for berry::IPersistable:

Public Member Functions

virtual ~IPersistable ()
 
virtual void SaveState (const SmartPointer< IMemento > &memento) const =0
 

Detailed Description

Objects implementing this interface are capable of saving their state in an IMemento.

Definition at line 27 of file berryIPersistable.h.

Constructor & Destructor Documentation

◆ ~IPersistable()

virtual berry::IPersistable::~IPersistable ( )
virtual

Member Function Documentation

◆ SaveState()

virtual void berry::IPersistable::SaveState ( const SmartPointer< IMemento > &  memento) const
pure virtual

Saves the state of the object in the given memento.

Parameters
mementothe storage area for object's state

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