2018-09-13 17:01:41 +07:00
|
|
|
/************************************************************************
|
|
|
|
* This file has been generated automatically from *
|
|
|
|
* *
|
|
|
|
* src/core/qgshstoreutils.h *
|
|
|
|
* *
|
|
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
|
|
************************************************************************/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%ModuleHeaderCode
|
|
|
|
#include "qgshstoreutils.h"
|
|
|
|
%End
|
|
|
|
|
|
|
|
namespace QgsHstoreUtils
|
|
|
|
{
|
|
|
|
|
|
|
|
QVariantMap parse( const QString &string );
|
|
|
|
%Docstring
|
|
|
|
Returns a QVariantMap object containing the key and values from a hstore-formatted string.
|
|
|
|
|
|
|
|
:param string: The hstored-formatted string
|
|
|
|
|
2018-10-22 20:56:56 -04:00
|
|
|
.. versionadded:: 3.4
|
|
|
|
%End
|
|
|
|
|
|
|
|
QString build( const QVariantMap &map );
|
|
|
|
%Docstring
|
|
|
|
Build a hstore-formatted string from a QVariantMap.
|
|
|
|
|
|
|
|
:param map: The map to format as a string
|
|
|
|
|
2018-09-13 17:01:41 +07:00
|
|
|
.. versionadded:: 3.4
|
|
|
|
%End
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
/************************************************************************
|
|
|
|
* This file has been generated automatically from *
|
|
|
|
* *
|
|
|
|
* src/core/qgshstoreutils.h *
|
|
|
|
* *
|
|
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
|
|
************************************************************************/
|