Skip to content

Commit 8545b80

Browse files
committed
Add doxygen note about metadata validation
1 parent bf2ce3d commit 8545b80

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

python/core/metadata/qgslayermetadata.sip

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@ class QgsLayerMetadata
3030
the schema definition available at resources/qgis-resource-metadata.xsd
3131
within the QGIS source code.
3232

33+
Metadata can be validated through the use of QgsLayerMetadataValidator
34+
subclasses. E.g. validating against the native QGIS metadata schema can be performed
35+
using QgsNativeMetadataValidator.
36+
3337
.. versionadded:: 3.0
3438
%End
3539

src/core/metadata/qgslayermetadata.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,10 @@ class QgsMapLayer;
4444
* the schema definition available at resources/qgis-resource-metadata.xsd
4545
* within the QGIS source code.
4646
*
47+
* Metadata can be validated through the use of QgsLayerMetadataValidator
48+
* subclasses. E.g. validating against the native QGIS metadata schema can be performed
49+
* using QgsNativeMetadataValidator.
50+
*
4751
* \since QGIS 3.0
4852
*/
4953
class CORE_EXPORT QgsLayerMetadata

0 commit comments

Comments
 (0)