QGIS API Documentation
3.0.2-Girona (307d082)
|
Contains the parameters describing a metadata validation failure. More...
#include <qgslayermetadatavalidator.h>
Public Member Functions | |
ValidationResult (const QString §ion, const QString ¬e, const QVariant &identifier=QVariant()) | |
Constructor for ValidationResult. More... | |
Public Attributes | |
QVariant | identifier |
Optional identifier for the failed metadata item. More... | |
QString | note |
The reason behind the validation failure. More... | |
QString | section |
Metadata section which failed the validation. More... | |
Contains the parameters describing a metadata validation failure.
Definition at line 42 of file qgslayermetadatavalidator.h.
|
inline |
Constructor for ValidationResult.
Definition at line 48 of file qgslayermetadatavalidator.h.
QVariant QgsMetadataValidator::ValidationResult::identifier |
Optional identifier for the failed metadata item.
For instance, in list type metadata elements this will be set to the list index of the failed metadata item.
Definition at line 63 of file qgslayermetadatavalidator.h.
QString QgsMetadataValidator::ValidationResult::note |
The reason behind the validation failure.
Definition at line 66 of file qgslayermetadatavalidator.h.
QString QgsMetadataValidator::ValidationResult::section |
Metadata section which failed the validation.
Definition at line 55 of file qgslayermetadatavalidator.h.