QGIS API Documentation  3.4.15-Madeira (e83d02e274)
Functions
QgsHstoreUtils Namespace Reference

The QgsHstoreUtils namespace provides functions to handle hstore-formatted strings. More...

Functions

CORE_EXPORT QString build (const QVariantMap &map)
 Build a hstore-formatted string from a QVariantMap. More...
 
CORE_EXPORT QVariantMap parse (const QString &string)
 Returns a QVariantMap object containing the key and values from a hstore-formatted string. More...
 

Detailed Description

The QgsHstoreUtils namespace provides functions to handle hstore-formatted strings.

Since
QGIS 3.4

Function Documentation

QString QgsHstoreUtils::build ( const QVariantMap &  map)

Build a hstore-formatted string from a QVariantMap.

Parameters
mapThe map to format as a string
Since
QGIS 3.4

Definition at line 88 of file qgshstoreutils.cpp.

QVariantMap QgsHstoreUtils::parse ( const QString &  string)

Returns a QVariantMap object containing the key and values from a hstore-formatted string.

Parameters
stringThe hstored-formatted string
Since
QGIS 3.4

Definition at line 20 of file qgshstoreutils.cpp.