QGIS API Documentation 3.34.0-Prizren (ffbdd678812)
|
A validator for the native base QGIS metadata schema definition. More...
#include <qgslayermetadatavalidator.h>
Public Member Functions | |
QgsNativeMetadataBaseValidator ()=default | |
Constructor for QgsNativeMetadataBaseValidator. | |
bool | validate (const QgsAbstractMetadataBase *metadata, QList< QgsAbstractMetadataBaseValidator::ValidationResult > &results) const override |
Validates a metadata object, and returns true if the metadata is considered valid. | |
Public Member Functions inherited from QgsAbstractMetadataBaseValidator | |
virtual | ~QgsAbstractMetadataBaseValidator ()=default |
A validator for the native base QGIS metadata schema definition.
Definition at line 113 of file qgslayermetadatavalidator.h.
|
default |
Constructor for QgsNativeMetadataBaseValidator.
|
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 QgsAbstractMetadataBaseValidator.
Reimplemented in QgsNativeMetadataValidator, and QgsNativeProjectMetadataValidator.
Definition at line 26 of file qgslayermetadatavalidator.cpp.