QGIS/python/core/auto_generated/qgshstoreutils.sip.in
Nyall Dawson c2e294c3fa Use class with static public methods instead of namespace
Namespaces don't work well with sip, eg losing the class docstrings.
2025-03-29 07:55:27 +10:00

51 lines
1.6 KiB
Plaintext

/************************************************************************
* This file has been generated automatically from *
* *
* src/core/qgshstoreutils.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.py again *
************************************************************************/
class QgsHstoreUtils
{
%Docstring(signature="appended")
Provides utility functions for handling hstore-formatted strings.
.. versionadded:: 3.4
%End
%TypeHeaderCode
#include "qgshstoreutils.h"
%End
public:
static 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
.. versionadded:: 3.4
%End
static QString build( const QVariantMap &map );
%Docstring
Build a hstore-formatted string from a QVariantMap.
:param map: The map to format as a string
.. 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.py again *
************************************************************************/