QGIS API Documentation
3.14.0-Pi (9f7028fd23)
|
#include <qgsprovidermetadata.h>
Public Types | |
enum | MeshDriverCapability { CanWriteFaceDatasets = 1 << 0, CanWriteVertexDatasets = 1 << 1, CanWriteEdgeDatasets = 1 << 2 } |
Flags for the capabilities of the driver. More... | |
Public Member Functions | |
QgsMeshDriverMetadata () | |
Constructs default metadata without any capabilities. More... | |
QgsMeshDriverMetadata (const QString &name, const QString &description, const MeshDriverCapabilities &capabilities) | |
Constructs driver metadata with selected capabilities. More... | |
MeshDriverCapabilities | capabilities () const |
Returns the capabilities for this driver. More... | |
QString | description () const |
Returns the description for this driver. More... | |
QString | name () const |
Returns the name (key) for this driver. More... | |
Holds metadata about mesh driver
Definition at line 52 of file qgsprovidermetadata.h.
Flags for the capabilities of the driver.
Definition at line 61 of file qgsprovidermetadata.h.
|
default |
Constructs default metadata without any capabilities.
QgsMeshDriverMetadata::QgsMeshDriverMetadata | ( | const QString & | name, |
const QString & | description, | ||
const MeshDriverCapabilities & | capabilities | ||
) |
Constructs driver metadata with selected capabilities.
name | name/key of the driver |
description | short description of the driver |
capabilities | driver's capabilities |
Definition at line 294 of file qgsprovidermetadata.cpp.
QgsMeshDriverMetadata::MeshDriverCapabilities QgsMeshDriverMetadata::capabilities | ( | ) | const |
Returns the capabilities for this driver.
Definition at line 299 of file qgsprovidermetadata.cpp.
QString QgsMeshDriverMetadata::description | ( | ) | const |
Returns the description for this driver.
Definition at line 309 of file qgsprovidermetadata.cpp.
QString QgsMeshDriverMetadata::name | ( | ) | const |
Returns the name (key) for this driver.
Definition at line 304 of file qgsprovidermetadata.cpp.