QGIS API Documentation
3.34.0-Prizren (ffbdd678812)
Loading...
Searching...
No Matches
src
core
qgstestutils.h
Go to the documentation of this file.
1
/***************************************************************************
2
qgstestutils.h
3
---------------------
4
begin : January 2018
5
copyright : (C) 2018 by Nyall Dawson
6
email :
[email protected]
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 QGSTESTUTILS_H
17
#define QGSTESTUTILS_H
18
19
#include "qgis_core.h"
20
#include "
qgis_sip.h
"
21
#include "
qgsfeaturerequest.h
"
22
23
class
QgsVectorDataProvider
;
24
25
#ifdef SIP_RUN
26
% ModuleHeaderCode
27
#include "
qgstestutils.h
"
28
% End
29
#endif
30
32
33
// Used only for utilities required for the QGIS Python unit tests - not stable or public API
34
namespace
QgsTestUtils
35
{
36
43
CORE_EXPORT
bool
testProviderIteratorThreadSafety(
QgsVectorDataProvider
*provider,
const
QgsFeatureRequest
&request =
QgsFeatureRequest
() );
44
45
};
46
48
#endif
//QGSTESTUTILS_H
QgsFeatureRequest
This class wraps a request for features to a vector layer (or directly its vector data provider).
Definition
qgsfeaturerequest.h:84
QgsVectorDataProvider
This is the base class for vector data providers.
Definition
qgsvectordataprovider.h:59
qgis_sip.h
qgsfeaturerequest.h
qgstestutils.h
Generated on Mon Oct 30 2023 18:42:25 for QGIS API Documentation by
1.9.8