16 #ifndef QGSWEAKRELATION_H 
   17 #define QGSWEAKRELATION_H 
   21 #include "qgis_core.h" 
   57                      const QString &relationName,
 
   59                      const QString &referencingLayerId,
 
   60                      const QString &referencingLayerName,
 
   61                      const QString &referencingLayerSource,
 
   62                      const QString &referencingLayerProviderKey,
 
   63                      const QString &referencedLayerId,
 
   64                      const QString &referencedLayerName,
 
   65                      const QString &referencedLayerSource,
 
   66                      const QString &referencedLayerProviderKey,
 
   67                      const QList<QgsRelation::FieldPair> &fieldPairs
 
   97     QList<QgsRelation::FieldPair> fieldPairs() 
const;
 
  119     static void writeXml( 
const QgsVectorLayer *layer, WeakRelationType type, 
const QgsRelation &relation, QDomNode &node, QDomDocument &doc );
 
  126     QString mRelationName;
 
  128     QList<QgsRelation::FieldPair> mFieldPairs;
 
  130     friend class TestQgsWeakRelation;
 
Resolves relative paths into absolute paths and vice versa.
Encapsulates a QGIS project, including sets of map layers and their styles, layouts,...
RelationStrength
enum for the relation strength Association, Composition
Represents a vector layer which manages a vector based data sets.
The QgsWeakRelation class represent a QgsRelation with possibly unresolved layers or unmatched fields...
WeakRelationType
Enum to distinguish if the layer is referenced or referencing.
@ Referencing
The layer is referencing.
MatchType
Flag for match type in weak resolution.