QGIS API Documentation
2.6.0-Brighton
|
Defines a relation between matchin fields of the two involved tables of a relation. More...
#include <qgsrelation.h>
Public Member Functions | |
FieldPair () | |
Default constructor: NULL strings. | |
FieldPair (QString referencingField, QString referencedField) | |
Constructor which takes two fields. | |
const QString & | referencingField () const |
Get the name of the referencing field. | |
const QString & | referencedField () const |
Get the name of the referenced field. |
Defines a relation between matchin fields of the two involved tables of a relation.
Often, a relation is only defined by just one FieldPair with the name of the foreign key column of the referencing table as first element and the name of the primary key column of the referenced table as the second element.
|
inline |
Default constructor: NULL strings.
|
inline |
Constructor which takes two fields.
|
inline |
Get the name of the referenced field.
|
inline |
Get the name of the referencing field.