18 #ifndef QGSOBJECTCUSTOMPROPERTIES_H
19 #define QGSOBJECTCUSTOMPROPERTIES_H
23 #include "qgis_core.h"
47 QStringList keys()
const;
54 void setValue(
const QString &key,
const QVariant &value );
61 QVariant value(
const QString &key,
const QVariant &defaultValue = QVariant() )
const;
66 void remove(
const QString &key );
73 bool contains(
const QString &key )
const;
82 void readXml(
const QDomNode &parentNode,
const QString &keyStartsWith = QString() );
89 void writeXml( QDomNode &parentNode, QDomDocument &doc )
const;
92 QMap<QString, QVariant>
mMap;
Simple key-value store (keys = strings, values = variants) that supports loading/saving to/from XML i...
QgsObjectCustomProperties()=default
Constructor for QgsObjectCustomProperties.
QMap< QString, QVariant > mMap