QGIS API Documentation
3.0.2-Girona (307d082)
|
A validator for the native QGIS metadata schema definition. More...
#include <qgslayermetadatavalidator.h>
Public Member Functions | |
QgsNativeMetadataValidator ()=default | |
Constructor for QgsNativeMetadataValidator. More... | |
bool | validate (const QgsLayerMetadata &metadata, QList< QgsMetadataValidator::ValidationResult > &results) const override |
Validates a metadata object, and returns true if the metadata is considered valid. More... | |
Public Member Functions inherited from QgsMetadataValidator | |
virtual | ~QgsMetadataValidator ()=default |
A validator for the native QGIS metadata schema definition.
Definition at line 90 of file qgslayermetadatavalidator.h.
|
default |
Constructor for QgsNativeMetadataValidator.
|
overridevirtual |
Validates a metadata object, and returns true if the metadata is considered valid.
If validation fails, the results list will be filled with a list of items describing why the validation failed and what needs to be rectified to fix the metadata.
Implements QgsMetadataValidator.
Definition at line 21 of file qgslayermetadatavalidator.cpp.