QGIS API Documentation
3.10.0-A Coruña (6c816b4204)
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
w
z
+
Functions
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
w
z
Variables
Typedefs
Enumerations
Enumerator
+
Classes
Class List
Class Index
Class Hierarchy
+
Class Members
+
All
2
3
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Functions
2
3
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
a
c
e
f
g
h
k
l
m
o
p
r
s
t
u
v
w
+
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
+
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Properties
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
y
z
+
Related Functions
a
c
d
e
f
g
i
l
m
n
o
p
q
r
s
t
v
+
Files
File List
+
File Members
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
u
v
w
z
+
Variables
a
b
c
d
e
g
h
i
l
n
o
p
q
r
s
t
u
w
+
Typedefs
a
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
Enumerations
Enumerator
+
Macros
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
w
y
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
src
core
validity
qgsvaliditycheckregistry.h
Go to the documentation of this file.
1
/***************************************************************************
2
qgsvaliditycheckregistry.h
3
--------------------------
4
begin : November 2018
5
copyright : (C) 2018 by Nyall Dawson
6
email : nyall dot dawson at gmail dot com
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
#ifndef QGSVALIDITYCHECKREGISTRY_H
16
#define QGSVALIDITYCHECKREGISTRY_H
17
18
#include "qgis_core.h"
19
#include "
qgis_sip.h
"
20
#include "
qgsabstractvaliditycheck.h
"
21
#include <QList>
22
#include <memory>
23
#include <vector>
24
36
class
CORE_EXPORT
QgsValidityCheckRegistry
37
{
38
39
public
:
40
41
QgsValidityCheckRegistry
();
42
43
~
QgsValidityCheckRegistry
();
44
46
QgsValidityCheckRegistry
(
const
QgsValidityCheckRegistry
&rh ) =
delete
;
48
QgsValidityCheckRegistry
&operator=(
const
QgsValidityCheckRegistry
&rh ) =
delete
;
49
53
QList<const QgsAbstractValidityCheck *> checks()
const
;
54
58
QList<const QgsAbstractValidityCheck *> checks(
int
type )
const
;
59
64
void
addCheck(
QgsAbstractValidityCheck
*check
SIP_TRANSFER
);
65
70
void
removeCheck(
QgsAbstractValidityCheck
*check );
71
86
QList< QgsValidityCheckResult > runChecks(
int
type,
const
QgsValidityCheckContext
*context,
QgsFeedback
*feedback )
const
;
87
88
private
:
89
90
#ifdef SIP_RUN
91
QgsValidityCheckRegistry
(
const
QgsValidityCheckRegistry
&rh );
92
#endif
93
97
std::vector<std::unique_ptr< QgsAbstractValidityCheck > > createChecks(
int
type )
const
SIP_FACTORY
;
98
100
QList< QgsAbstractValidityCheck * > mChecks;
101
102
};
103
104
#endif // QGSVALIDITYCHECKREGISTRY_H
QgsValidityCheckRegistry
This class keeps a list of QgsAbstractValidityCheck checks which can be used when performing validity...
Definition:
qgsvaliditycheckregistry.h:36
QgsFeedback
Base class for feedback objects to be used for cancellation of something running in a worker thread...
Definition:
qgsfeedback.h:44
qgis_sip.h
SIP_TRANSFER
#define SIP_TRANSFER
Definition:
qgis_sip.h:36
SIP_FACTORY
#define SIP_FACTORY
Definition:
qgis_sip.h:76
qgsabstractvaliditycheck.h
QgsAbstractValidityCheck
Abstract base class for individual validity checks.
Definition:
qgsabstractvaliditycheck.h:92
QgsValidityCheckContext
Base class for validity check contexts.
Definition:
qgsvaliditycheckcontext.h:35
Generated on Sun Oct 27 2019 00:43:28 for QGIS API Documentation by
1.8.13