Computer Assisted Medical Intervention Tool Kit  version 5.2
InterfacePersistence Class Referenceabstract

Interface for all objects that should be serialized by the PersistenceManager. More...

#include <InterfacePersistence.h>

+ Inheritance diagram for InterfacePersistence:
+ Collaboration diagram for InterfacePersistence:

Public Member Functions

virtual void fromVariant (const QVariant &)=0
 Load data from a QVariant to initialize the current object. More...
 
virtual QVariant toVariant () const =0
 Convert all data from the object to a QVariant (usually a QVariantMap) More...
 

Detailed Description

Interface for all objects that should be serialized by the PersistenceManager.

Member Function Documentation

◆ fromVariant()

virtual void InterfacePersistence::fromVariant ( const QVariant &  )
pure virtual

Load data from a QVariant to initialize the current object.

Implemented in camitk::PropertyObject, camitk::MeshComponent, camitk::ImageComponent, camitk::Component, and camitk::Action.

◆ toVariant()

virtual QVariant InterfacePersistence::toVariant ( ) const
pure virtual

Convert all data from the object to a QVariant (usually a QVariantMap)

Implemented in camitk::PropertyObject, camitk::MeshComponent, camitk::ImageComponent, camitk::Component, and camitk::Action.


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