QGIS API Documentation
3.14.0-Pi (9f7028fd23)
src
core
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
33
namespace
QgsHstoreUtils
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
QgsHstoreUtils::build
CORE_EXPORT QString build(const QVariantMap &map)
Build a hstore-formatted string from a QVariantMap.
Definition:
qgshstoreutils.cpp:88
QgsHstoreUtils::parse
CORE_EXPORT QVariantMap parse(const QString &string)
Returns a QVariantMap object containing the key and values from a hstore-formatted string.
Definition:
qgshstoreutils.cpp:20
qgis.h
qgshstoreutils.h
QgsHstoreUtils
Definition:
qgshstoreutils.h:33
Generated on Mon Jun 22 2020 05:14:09 for QGIS API Documentation by
1.8.17