[Serialization] QSetting

For every class that can be considerate like a QVariant ( see http://qt-project.org/doc/qt-4.8/QVariant.html ),

It’s easy to make a QMapStream from them and it’s easy to serialize the QMapStream in a file using QSettings.
Therefor it’s easy to serialize class in C++ using Qt if our data respect the QVariant form,
 and if the classes that inherit from them define QMapStreamable.
That allows us to write limpid code and simple inheritance from data and functionality.

About jgueytat

Useful Links: INRIA member personal webpage Julien Gueytat. Tagged as jgueytat on the STARS website.

Leave a Reply