mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-09 00:35:20 -05:00
56 lines
1.8 KiB
Plaintext
56 lines
1.8 KiB
Plaintext
/************************************************************************
|
|
* This file has been generated automatically from *
|
|
* *
|
|
* src/core/qgspostgresstringutils.h *
|
|
* *
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
************************************************************************/
|
|
|
|
|
|
|
|
%ModuleHeaderCode
|
|
#include "qgspostgresstringutils.h"
|
|
%End
|
|
|
|
namespace QgsPostgresStringUtils
|
|
{
|
|
|
|
QVariantList parse( const QString &string );
|
|
%Docstring
|
|
Returns a QVariantList created out of a string containing an array in postgres array format {1,2,3} or {"a","b","c"}
|
|
|
|
:param string: The formatted list in a string
|
|
|
|
.. versionadded:: 3.8
|
|
%End
|
|
|
|
QString build( const QVariantList &list );
|
|
%Docstring
|
|
Build a postgres array like formatted list in a string from a QVariantList
|
|
|
|
:param list: The list that needs to be stored to the string
|
|
|
|
.. versionadded:: 3.8
|
|
%End
|
|
|
|
QString getNextString( const QString &txt, int &i, const QString &sep );
|
|
%Docstring
|
|
get the string until the separator
|
|
|
|
:param txt: the input text
|
|
:param i: the current position
|
|
:param sep: the separator
|
|
|
|
.. versionadded:: 3.8
|
|
%End
|
|
|
|
};
|
|
|
|
/************************************************************************
|
|
* This file has been generated automatically from *
|
|
* *
|
|
* src/core/qgspostgresstringutils.h *
|
|
* *
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
************************************************************************/
|