QGIS API Documentation  3.15.0-Master (1d5bfb2cfe)
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

◆ Constraint()

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

Constructor for Constraint.

Definition at line 142 of file qgslayermetadata.h.

Member Function Documentation

◆ operator==()

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

Definition at line 402 of file qgslayermetadata.cpp.

Member Data Documentation

◆ constraint

QString QgsLayerMetadata::Constraint::constraint

Free-form constraint string.

Definition at line 156 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 151 of file qgslayermetadata.h.


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