QGIS API Documentation  3.2.0-Bonn (bc43194)
qgslayermetadataformatter.h
Go to the documentation of this file.
1 /***************************************************************************
2  qgslayermetadataformatter.h
3  ---------------------------
4  begin : September 2017
5  copyright : (C) 2017 by Etienne Trimaille
6  email : etienne dot trimaille at gmail dot com
7  ***************************************************************************/
8 
9 /***************************************************************************
10  * *
11  * This program is free software; you can redistribute it and/or modify *
12  * it under the terms of the GNU General Public License as published by *
13  * the Free Software Foundation; either version 2 of the License, or *
14  * (at your option) any later version. *
15  * *
16  ***************************************************************************/
17 
18 #ifndef QGSLAYERMETADATAFORMATTER_H
19 #define QGSLAYERMETADATAFORMATTER_H
20 
21 #include "qgis.h"
22 #include "qgis_core.h"
23 #include "qgslayermetadata.h"
24 
31 class CORE_EXPORT QgsLayerMetadataFormatter
32 {
33  public:
34 
39 
44  QString accessSectionHtml() const;
45 
50  QString contactsSectionHtml() const;
51 
56  QString extentSectionHtml() const;
57 
62  QString identificationSectionHtml() const;
63 
68  QString historySectionHtml() const;
69 
74  QString linksSectionHtml() const;
75 
76  private:
77  QgsLayerMetadata mMetadata;
78 };
79 
80 #endif // QGSLAYERMETADATAFORMATTER_H
A structured metadata store for a map layer.
Class for metadata formatter.