QGIS API Documentation  3.4.15-Madeira (e83d02e274)
Public Member Functions | Public Attributes | List of all members
QgsLayerMetadata::Constraint Struct Reference

Metadata constraint structure. More...

#include <qgslayermetadata.h>

Public Member Functions

 Constraint (const QString &constraint=QString(), const QString &type=QString())
 Constructor for Constraint. More...
bool operator== (const QgsLayerMetadata::Constraint &other) const

Public Attributes

QString constraint
 Free-form constraint string. More...
QString type
 Constraint type. More...

Detailed Description

Metadata constraint structure.

Definition at line 136 of file qgslayermetadata.h.

Constructor & Destructor Documentation

QgsLayerMetadata::Constraint::Constraint ( const QString &  constraint = QString(),
const QString &  type = QString() 

Constructor for Constraint.

Definition at line 142 of file qgslayermetadata.h.

Member Function Documentation

bool QgsLayerMetadata::Constraint::operator== ( const QgsLayerMetadata::Constraint other) const

Definition at line 402 of file qgslayermetadata.cpp.

Member Data Documentation

QString QgsLayerMetadata::Constraint::constraint

Free-form constraint string.

Definition at line 156 of file qgslayermetadata.h.

QString QgsLayerMetadata::Constraint::type

Constraint type.

Standard values include 'access' and 'other', however any string can be used for the type.

Definition at line 151 of file qgslayermetadata.h.

The documentation for this struct was generated from the following files: