QGIS API Documentation
3.18.1-Zürich (202f1bf7e5)
src
core
qgsmaplayerfactory.h
Go to the documentation of this file.
1
/***************************************************************************
2
qgsmaplayerfactory.h
3
--------------------------------------
4
Date : March 2021
5
Copyright : (C) 2021 by Nyall Dawson
6
Email : nyall dot dawson 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 QGSMAPLAYERFACTORY_H
19
#define QGSMAPLAYERFACTORY_H
20
21
#include "qgis_core.h"
22
#include "
qgsmaplayer.h
"
23
24
#include <QString>
25
32
class
CORE_EXPORT
QgsMapLayerFactory
33
{
34
public
:
35
46
static
QgsMapLayerType
typeFromString(
const
QString &
string
,
bool
&ok
SIP_OUT
);
47
53
static
QString typeToString(
QgsMapLayerType
type );
54
55
};
56
57
#endif
// QGSMAPLAYERFACTORY_H
QgsMapLayerFactory
Contains utility functions for creating map layers.
Definition:
qgsmaplayerfactory.h:33
QgsMapLayerType
QgsMapLayerType
Types of layers that can be added to a map.
Definition:
qgsmaplayer.h:69
SIP_OUT
#define SIP_OUT
Definition:
qgis_sip.h:58
qgsmaplayer.h
Generated on Sun Mar 21 2021 09:16:51 for QGIS API Documentation by
1.9.1