QGIS API Documentation 3.34.0-Prizren (ffbdd678812)
|
Holds metadata about mesh driver. More...
#include <qgsprovidermetadata.h>
Public Types | |
enum | MeshDriverCapability { CanWriteFaceDatasets = 1 << 0 , CanWriteVertexDatasets = 1 << 1 , CanWriteEdgeDatasets = 1 << 2 , CanWriteMeshData = 1 << 3 } |
Flags for the capabilities of the driver. More... | |
Public Member Functions | |
QgsMeshDriverMetadata () | |
Constructs default metadata without any capabilities. | |
Q_DECL_DEPRECATED | QgsMeshDriverMetadata (const QString &name, const QString &description, const MeshDriverCapabilities &capabilities, const QString &writeDatasetOnFileSuffix) |
Constructs driver metadata with selected capabilities. | |
QgsMeshDriverMetadata (const QString &name, const QString &description, const MeshDriverCapabilities &capabilities, const QString &writeDatasetOnFileSuffix, const QString &writeMeshFrameOnFileSuffix, int maxVerticesPerface) | |
Constructs driver metadata with selected capabilities. | |
MeshDriverCapabilities | capabilities () const |
Returns the capabilities for this driver. | |
QString | description () const |
Returns the description for this driver. | |
int | maximumVerticesCountPerFace () const |
Returns the maximum number of vertices per face supported by the driver. | |
QString | name () const |
Returns the name (key) for this driver. | |
QString | writeDatasetOnFileSuffix () const |
Returns the suffix used to write datasets on file. | |
QString | writeMeshFrameOnFileSuffix () const |
Returns the suffix used to write mesh on file. | |
Holds metadata about mesh driver.
Definition at line 56 of file qgsprovidermetadata.h.
Flags for the capabilities of the driver.
Definition at line 65 of file qgsprovidermetadata.h.
|
default |
Constructs default metadata without any capabilities.
QgsMeshDriverMetadata::QgsMeshDriverMetadata | ( | const QString & | name, |
const QString & | description, | ||
const MeshDriverCapabilities & | capabilities, | ||
const QString & | writeDatasetOnFileSuffix | ||
) |
Constructs driver metadata with selected capabilities.
name | name/key of the driver |
description | short description of the driver |
capabilities | driver's capabilities |
writeDatasetOnFileSuffix | suffix used to write datasets on file |
Definition at line 396 of file qgsprovidermetadata.cpp.
QgsMeshDriverMetadata::QgsMeshDriverMetadata | ( | const QString & | name, |
const QString & | description, | ||
const MeshDriverCapabilities & | capabilities, | ||
const QString & | writeDatasetOnFileSuffix, | ||
const QString & | writeMeshFrameOnFileSuffix, | ||
int | maxVerticesPerface | ||
) |
Constructs driver metadata with selected capabilities.
name | name/key of the driver |
description | short description of the driver |
capabilities | driver's capabilities |
writeDatasetOnFileSuffix | suffix used to write datasets on file |
writeMeshFrameOnFileSuffix | suffix used to write mesh frame on file |
maxVerticesPerface | maximum vertices count per face supported by the driver |
Definition at line 407 of file qgsprovidermetadata.cpp.
QgsMeshDriverMetadata::MeshDriverCapabilities QgsMeshDriverMetadata::capabilities | ( | ) | const |
Returns the capabilities for this driver.
Definition at line 422 of file qgsprovidermetadata.cpp.
QString QgsMeshDriverMetadata::description | ( | ) | const |
Returns the description for this driver.
Definition at line 432 of file qgsprovidermetadata.cpp.
int QgsMeshDriverMetadata::maximumVerticesCountPerFace | ( | ) | const |
Returns the maximum number of vertices per face supported by the driver.
Definition at line 447 of file qgsprovidermetadata.cpp.
QString QgsMeshDriverMetadata::name | ( | ) | const |
Returns the name (key) for this driver.
Definition at line 427 of file qgsprovidermetadata.cpp.
QString QgsMeshDriverMetadata::writeDatasetOnFileSuffix | ( | ) | const |
Returns the suffix used to write datasets on file.
Definition at line 437 of file qgsprovidermetadata.cpp.
QString QgsMeshDriverMetadata::writeMeshFrameOnFileSuffix | ( | ) | const |
Returns the suffix used to write mesh on file.
Definition at line 442 of file qgsprovidermetadata.cpp.