QGIS API Documentation  2.18.21-Las Palmas (9fba24a)
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 
24  QString const & _description,
25  QString const & _library )
26  : key_( _key )
27  , description_( _description )
28  , library_( _library )
29 {}
30 
32 {
33  return key_;
34 }
35 
37 {
38  return description_;
39 }
40 
42 {
43  return library_;
44 }
QString description() const
This returns descriptive text for the provider.
QString key() const
This returns the unique key associated with the provider.
QString library() const
This returns the library file name.
QgsProviderMetadata(const QString &_key, const QString &_description, const QString &_library)