17 #ifndef QGSRELATION_P_H
18 #define QGSRELATION_P_H
35 #include <QSharedData>
38 class QgsRelationPrivate :
public QSharedData
41 QgsRelationPrivate() =
default;
46 QString mRelationName;
48 QString mReferencingLayerId;
50 QPointer<QgsVectorLayer> mReferencingLayer;
52 QString mReferencedLayerId;
54 QPointer<QgsVectorLayer> mReferencedLayer;
58 QString mPolymorphicRelationId;
66 QList< QgsRelation::FieldPair > mFieldPairs;
RelationStrength
enum for the relation strength Association, Composition
@ Association
Loose relation, related elements are not part of the parent and a parent copy will not copy any child...