Skip to content

Commit

Permalink
Add doxygen note about metadata validation
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed May 3, 2017
1 parent bf2ce3d commit 8545b80
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions python/core/metadata/qgslayermetadata.sip
Expand Up @@ -30,6 +30,10 @@ class QgsLayerMetadata
the schema definition available at resources/qgis-resource-metadata.xsd
within the QGIS source code.

Metadata can be validated through the use of QgsLayerMetadataValidator
subclasses. E.g. validating against the native QGIS metadata schema can be performed
using QgsNativeMetadataValidator.

.. versionadded:: 3.0
%End

Expand Down
4 changes: 4 additions & 0 deletions src/core/metadata/qgslayermetadata.h
Expand Up @@ -44,6 +44,10 @@ class QgsMapLayer;
* the schema definition available at resources/qgis-resource-metadata.xsd
* within the QGIS source code.
*
* Metadata can be validated through the use of QgsLayerMetadataValidator
* subclasses. E.g. validating against the native QGIS metadata schema can be performed
* using QgsNativeMetadataValidator.
*
* \since QGIS 3.0
*/
class CORE_EXPORT QgsLayerMetadata
Expand Down

0 comments on commit 8545b80

Please sign in to comment.