QGIS API Documentation 3.40.0-Bratislava (b56115d8743)
Loading...
Searching...
No Matches
qgshstoreutils.h
Go to the documentation of this file.
1/***************************************************************************
2 qgshstoreutils.h
3 ---------------------
4 begin : Sept 2018
5 copyright : (C) 2018 by Mathieu Pellerin
6 email : nirvn dot asia at gmail dot com
7 ***************************************************************************
8 * *
9 * This program is free software; you can redistribute it and/or modify *
10 * it under the terms of the GNU General Public License as published by *
11 * the Free Software Foundation; either version 2 of the License, or *
12 * (at your option) any later version. *
13 * *
14 ***************************************************************************/
15
16#ifndef QGSHSTOREUTILS_H
17#define QGSHSTOREUTILS_H
18
19#include "qgis_core.h"
20#include "qgis.h"
21
22#ifdef SIP_RUN
23% ModuleHeaderCode
24#include "qgshstoreutils.h"
25% End
26#endif
27
34{
35
41 CORE_EXPORT QVariantMap parse( const QString &string );
42
48 CORE_EXPORT QString build( const QVariantMap &map );
49
50};
51
52#endif //QGSHSTOREUTILS_H
The QgsHstoreUtils namespace provides functions to handle hstore-formatted strings.
CORE_EXPORT QString build(const QVariantMap &map)
Build a hstore-formatted string from a QVariantMap.
CORE_EXPORT QVariantMap parse(const QString &string)
Returns a QVariantMap object containing the key and values from a hstore-formatted string.