QGIS API Documentation
3.0.2-Girona (307d082)
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
a
b
c
d
e
f
g
i
l
m
n
o
p
r
s
t
u
w
z
+
Functions
a
b
c
d
f
g
i
l
n
o
p
r
s
t
u
z
Variables
Typedefs
Enumerations
Enumerator
+
Classes
Class List
Class Index
Class Hierarchy
+
Class Members
+
All
2
3
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Functions
2
3
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
a
c
e
f
g
h
k
l
m
o
p
r
s
t
u
v
+
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
+
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Properties
a
b
c
d
e
f
h
i
l
m
n
o
p
r
s
t
u
v
x
y
z
+
Related Functions
a
c
d
e
f
g
l
m
n
o
p
q
r
s
t
v
+
Files
File List
+
File Members
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
u
v
w
z
+
Variables
a
d
g
h
i
l
n
p
u
+
Typedefs
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
Enumerations
Enumerator
+
Macros
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
w
y
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
src
core
qgsprovidermetadata.cpp
Go to the documentation of this file.
1
/***************************************************************************
2
qgsprovidermetadata.cpp - Metadata class for
3
describing a data provider.
4
-------------------
5
begin : Sat Jan 10 2004
6
copyright : (C) 2004 by Gary E.Sherman
7
email : sherman at mrcc.com
8
***************************************************************************/
9
10
/***************************************************************************
11
* *
12
* This program is free software; you can redistribute it and/or modify *
13
* it under the terms of the GNU General Public License as published by *
14
* the Free Software Foundation; either version 2 of the License, or *
15
* (at your option) any later version. *
16
* *
17
***************************************************************************/
18
19
#include "
qgsprovidermetadata.h
"
20
21
22
23
QgsProviderMetadata::QgsProviderMetadata
( QString
const
&_key,
24
QString
const
&_description,
25
QString
const
&_library )
26
: key_( _key )
27
, description_( _description )
28
, library_( _library )
29
{}
30
31
QgsProviderMetadata::QgsProviderMetadata
(
const
QString &
key
,
const
QString &
description
,
const
CreateDataProviderFunction
&createFunc )
32
: key_( key )
33
, description_( description )
34
, mCreateFunc( createFunc )
35
{}
36
37
QString
QgsProviderMetadata::key
()
const
38
{
39
return
key_;
40
}
41
42
QString
QgsProviderMetadata::description
()
const
43
{
44
return
description_;
45
}
46
47
QString
QgsProviderMetadata::library
()
const
48
{
49
return
library_;
50
}
51
52
QgsProviderMetadata::CreateDataProviderFunction
QgsProviderMetadata::createFunction
()
const
53
{
54
return
mCreateFunc;
55
}
QgsProviderMetadata::description
QString description() const
This returns descriptive text for the provider.
Definition:
qgsprovidermetadata.cpp:42
QgsProviderMetadata::key
QString key() const
This returns the unique key associated with the provider.
Definition:
qgsprovidermetadata.cpp:37
QgsProviderMetadata::library
QString library() const
This returns the library file name.
Definition:
qgsprovidermetadata.cpp:47
QgsProviderMetadata::CreateDataProviderFunction
std::function< QgsDataProvider *(const QString &) > CreateDataProviderFunction
Typedef for data provider creation function.
Definition:
qgsprovidermetadata.h:55
QgsProviderMetadata::QgsProviderMetadata
QgsProviderMetadata(const QString &_key, const QString &_description, const QString &_library)
Definition:
qgsprovidermetadata.cpp:23
qgsprovidermetadata.h
QgsProviderMetadata::createFunction
CreateDataProviderFunction createFunction() const
Returns a pointer to the direct provider creation function, if supported by the provider.
Definition:
qgsprovidermetadata.cpp:52
Generated on Sat Apr 21 2018 11:45:00 for QGIS API Documentation by
1.8.13