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