QGIS API Documentation 3.41.0-Master (45a0abf3bec)
Loading...
Searching...
No Matches
qgspostgresstringutils.h
Go to the documentation of this file.
1/***************************************************************************
2 qgspostgresstringutils.h
3 ---------------------
4 begin : July 2019
5 copyright : (C) 2019 by David Signer
6 email : david at opengis dot ch
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 QGSPOSTGRESSTRINGUTILS_H
17#define QGSPOSTGRESSTRINGUTILS_H
18
19#include "qgis_core.h"
20#include "qgis.h"
21#include "qlist.h"
22
23#ifdef SIP_RUN
24% ModuleHeaderCode
26% End
27#endif
28
34class CORE_EXPORT QgsPostgresStringUtils
35{
36
37 public:
38
44 static QVariantList parseArray( const QString &string );
45
51 static QString buildArray( const QVariantList &list );
52
53 private:
54
62 static QString getNextString( const QString &txt, int &i, const QString &sep );
63};
64
65#endif //QGSPOSTGRESSTRINGUTILS_H
The QgsPostgresStringUtils provides functions to handle postgres array like formatted lists in string...