QGIS API Documentation  3.14.0-Pi (9f7028fd23)
Functions
QgsHstoreUtils Namespace Reference

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

◆ build()

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.

◆ parse()

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.