QGIS API Documentation
4.3.0-Master (4ecdf0f3f59)
Toggle main menu visibility
Loading...
Searching...
No Matches
src
core
qgsrelation_p.h
Go to the documentation of this file.
1
/***************************************************************************
2
qgsrelation_p.h
3
--------------------------
4
begin : August 2018
5
copyright : (C) 2018 Matthias Kuhn
6
email : matthias@opengis.ch
7
***************************************************************************/
8
9
/***************************************************************************
10
* *
11
* This program is free software; you can redistribute it and/or modify *
12
* it under the terms of the GNU General Public License as published by *
13
* the Free Software Foundation; either version 2 of the License, or *
14
* (at your option) any later version. *
15
* *
16
***************************************************************************/
17
#ifndef QGSRELATION_P_H
18
#define QGSRELATION_P_H
19
20
22
23
//
24
// W A R N I N G
25
// -------------
26
//
27
// This file is not part of the QGIS API. It exists purely as an
28
// implementation detail. This header file may change from version to
29
// version without notice, or even be removed.
30
//
31
32
#include "
qgsrelation.h
"
33
34
#include <QPointer>
35
#include <QSharedData>
36
37
#define SIP_NO_FILE
38
39
class
QgsRelationPrivate :
public
QSharedData
40
{
41
public
:
42
QgsRelationPrivate() =
default
;
43
45
QString mRelationId;
47
QString mRelationName;
49
QString mReferencingLayerId;
51
QPointer<QgsVectorLayer> mReferencingLayer;
53
QString mReferencedLayerId;
55
QPointer<QgsVectorLayer> mReferencedLayer;
57
Qgis::RelationshipStrength
mRelationStrength =
Qgis::RelationshipStrength::Association
;
59
QString mPolymorphicRelationId;
60
67
QList< QgsRelation::FieldPair > mFieldPairs;
68
69
bool
mValid =
false
;
70
QString mValidationError;
71
};
72
74
75
#endif
// QGSRELATION_P_H
Qgis::RelationshipStrength
RelationshipStrength
Relationship strength.
Definition
qgis.h:4905
Qgis::RelationshipStrength::Association
@ Association
Loose relation, related elements are not part of the parent and a parent copy will not copy any child...
Definition
qgis.h:4906
qgsrelation.h
Generated on
for QGIS API Documentation by
1.17.0