Class: QgsMeshDriverMetadata

class qgis.core.QgsMeshDriverMetadata

Bases: sip.wrapper

Constructs default metadata without any capabilities

QgsMeshDriverMetadata(name: str, description: str, capabilities: Union[QgsMeshDriverMetadata.MeshDriverCapabilities, QgsMeshDriverMetadata.MeshDriverCapability], writeDatasetOnFileSuffix: str) Constructs driver metadata with selected capabilities

Parameters
  • name – name/key of the driver

  • description – short description of the driver

  • capabilities – driver’s capabilities

QgsMeshDriverMetadata(QgsMeshDriverMetadata)

Holds metadata about mesh driver

Methods

capabilities

Returns the capabilities for this driver.

description

Returns the description for this driver.

name

Returns the name (key) for this driver.

writeDatasetOnFileSuffix

Returns the suffix used to write datasets on file

Attributes

CanWriteEdgeDatasets

CanWriteFaceDatasets

CanWriteMeshData

CanWriteVertexDatasets

staticMetaObject

CanWriteEdgeDatasets = 4
CanWriteFaceDatasets = 1
CanWriteMeshData = 8
CanWriteVertexDatasets = 2
class MeshDriverCapabilities

Bases: sip.wrapper

QgsMeshDriverMetadata.MeshDriverCapabilities(Union[QgsMeshDriverMetadata.MeshDriverCapabilities, QgsMeshDriverMetadata.MeshDriverCapability]) QgsMeshDriverMetadata.MeshDriverCapabilities(QgsMeshDriverMetadata.MeshDriverCapabilities)

baseClass

alias of QgsMeshDriverMetadata

class MeshDriverCapability

Bases: int

baseClass

alias of QgsMeshDriverMetadata

capabilities(self)QgsMeshDriverMetadata.MeshDriverCapabilities

Returns the capabilities for this driver.

Return type

QgsMeshDriverMetadata.MeshDriverCapabilities

description(self) → str

Returns the description for this driver.

Return type

str

name(self) → str

Returns the name (key) for this driver.

Return type

str

staticMetaObject = <PyQt5.QtCore.QMetaObject object>
writeDatasetOnFileSuffix(self) → str

Returns the suffix used to write datasets on file

Return type

str