QGIS API Documentation 3.43.0-Master (37eec98dbf6)
Static Public Member Functions | List of all members
QgsHstoreUtils Class Reference

Provides utility functions for handling hstore-formatted strings. More...

#include <qgshstoreutils.h>

Static Public Member Functions

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

Detailed Description

Provides utility functions for handling hstore-formatted strings.

Since
QGIS 3.4

Definition at line 27 of file qgshstoreutils.h.

Member Function Documentation

◆ build()

QString QgsHstoreUtils::build ( const QVariantMap &  map)
static

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)
static

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.


The documentation for this class was generated from the following files: