QGIS API Documentation 3.38.0-Grenoble (exported)
Loading...
Searching...
No Matches
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.
 
bool operator== (const QgsLayerMetadata::Constraint &other) const
 

Public Attributes

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

Detailed Description

Metadata constraint structure.

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

Member Function Documentation

◆ operator==()

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

Definition at line 511 of file qgslayermetadata.cpp.

Member Data Documentation

◆ constraint

QString QgsLayerMetadata::Constraint::constraint

Free-form constraint string.

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


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