QGIS API Documentation  3.0.2-Girona (307d082)
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 140 of file qgslayermetadata.h.

Constructor & Destructor Documentation

◆ Constraint()

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

Constructor for Constraint.

Definition at line 146 of file qgslayermetadata.h.

Member Function Documentation

◆ operator==()

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

Definition at line 803 of file qgslayermetadata.cpp.

Member Data Documentation

◆ constraint

QString QgsLayerMetadata::Constraint::constraint

Free-form constraint string.

Definition at line 160 of file qgslayermetadata.h.

◆ type

QString QgsLayerMetadata::Constraint::type

Constraint type.

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

Definition at line 155 of file qgslayermetadata.h.


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