Interface for all objects that should be serialized by the PersistenceManager. More...
#include <InterfacePersistence.h>
Public Member Functions | |
virtual void | fromVariant (const QVariant &)=0 |
Load data from a QVariant to initialize the current object. | |
virtual QVariant | toVariant () const =0 |
Convert all data from the object to a QVariant (usually a QVariantMap) | |
Interface for all objects that should be serialized by the PersistenceManager.
|
pure virtual |
Load data from a QVariant to initialize the current object.
Implemented in camitk::Action, camitk::Component, camitk::ImageComponent, camitk::MeshComponent, and camitk::PropertyObject.
|
pure virtual |
Convert all data from the object to a QVariant (usually a QVariantMap)
Implemented in camitk::Action, camitk::Component, camitk::ImageComponent, camitk::MeshComponent, and camitk::PropertyObject.