Medical Imaging Interaction Toolkit  2018.4.99-389bf124
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()

berry::IPersistable::~IPersistable ( )
virtual

Definition at line 17 of file berryIPersistable.cpp.

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 files: