Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
renamed QgsArrayUtils to QgsPostgresStringUtils
- Loading branch information
Showing
10 changed files
with
103 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
/************************************************************************ | ||
* 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 * | ||
************************************************************************/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters