|
QGIS API Documentation 3.42.0-Münster (feb80233002)
|
Encapsulates the definition of a GDAL configuration option. More...
#include <qgsgdalutils.h>
Public Types | |
| enum class | Type { Invalid , Select , Boolean , Text , Int , Double } |
| Option types. More... | |
Static Public Member Functions | |
| static QgsGdalOption | fromXmlNode (const CPLXMLNode *node) |
| Creates a QgsGdalOption from an XML node. | |
| static QList< QgsGdalOption > | optionsFromXml (const CPLXMLNode *node) |
| Returns a list of all GDAL options from an XML node. | |
Public Attributes | |
| QVariant | defaultValue |
| Default value. | |
| QString | description |
| Option description. | |
| QVariant | maximum |
| Maximum acceptable value. | |
| QVariant | minimum |
| Minimum acceptable value. | |
| QString | name |
| Option name. | |
| QStringList | options |
| Available choices, for Select options. | |
| QString | scope |
| Option scope. | |
| Type | type = Type::Invalid |
| Option type. | |
Encapsulates the definition of a GDAL configuration option.
Definition at line 36 of file qgsgdalutils.h.
|
strong |
Option types.
| Enumerator | |
|---|---|
| Invalid | Invalid option. |
| Select | Selection option. |
| Boolean | Boolean option. |
| Text | Text option. |
| Int | Integer option. |
| Double | Double option. |
Definition at line 43 of file qgsgdalutils.h.
|
static |
Creates a QgsGdalOption from an XML node.
Returns an invalid option if the node could not be interpreted as a GDAL option.
Definition at line 36 of file qgsgdalutils.cpp.
|
static |
Returns a list of all GDAL options from an XML node.
Definition at line 143 of file qgsgdalutils.cpp.
| QVariant QgsGdalOption::defaultValue |
Default value.
Definition at line 66 of file qgsgdalutils.h.
| QString QgsGdalOption::description |
Option description.
Definition at line 60 of file qgsgdalutils.h.
| QVariant QgsGdalOption::maximum |
Maximum acceptable value.
Definition at line 72 of file qgsgdalutils.h.
| QVariant QgsGdalOption::minimum |
Minimum acceptable value.
Definition at line 69 of file qgsgdalutils.h.
| QString QgsGdalOption::name |
Option name.
Definition at line 54 of file qgsgdalutils.h.
| QStringList QgsGdalOption::options |
Available choices, for Select options.
Definition at line 63 of file qgsgdalutils.h.
| QString QgsGdalOption::scope |
Option scope.
Definition at line 75 of file qgsgdalutils.h.
| Type QgsGdalOption::type = Type::Invalid |
Option type.
Definition at line 57 of file qgsgdalutils.h.