![]() |
Libmacro
0.2
Libmacro is an extensible macro and hotkey library.
|
Get/Set all values of an object. More...
#include <iserializer.h>
Public Types | |
| typedef ISerializer *(* | get) () |
| Get a serializer object to get/set all values of another object. More... | |
Public Member Functions | |
| virtual size_t | keyCount (bool canonical) const =0 |
| virtual QString * | keysArray (bool canonical) const =0 |
| virtual QVariant | value (const QString &name) const =0 |
| Get a named value. | |
| virtual void | setValue (const QString &name, const QVariant &val)=0 |
| QStringList | keys (bool canonical) const |
| ISerializer & | build (const QString &name, const QVariant &val) |
| QVariantMap | values (bool canonical) |
| Get all values of the object (Serialize) More... | |
| void | setValues (const QVariantMap &vals) |
| Set all values of the object (Deserialize) | |
Get/Set all values of an object.
Definition at line 35 of file iserializer.h.
| typedef ISerializer*(* mcr::ISerializer::get) () |
Get a serializer object to get/set all values of another object.
The serializer object is created with new and must be deleted manually
Definition at line 42 of file iserializer.h.
|
inline |
Get all values of the object (Serialize)
| canonical | Use string values over integers. |
Definition at line 72 of file iserializer.h.