QGIS API Documentation 3.41.0-Master (45a0abf3bec)
|
A validator for the native QGIS layer metadata schema definition. More...
#include <qgslayermetadatavalidator.h>
Public Member Functions | |
QgsNativeMetadataValidator ()=default | |
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 QgsNativeMetadataBaseValidator | |
QgsNativeMetadataBaseValidator ()=default | |
Public Member Functions inherited from QgsAbstractMetadataBaseValidator | |
virtual | ~QgsAbstractMetadataBaseValidator ()=default |
A validator for the native QGIS layer metadata schema definition.
Definition at line 125 of file qgslayermetadatavalidator.h.
|
default |
|
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.
Reimplemented from QgsNativeMetadataBaseValidator.
Definition at line 138 of file qgslayermetadatavalidator.cpp.