QGIS API Documentation
3.18.1-Zürich (202f1bf7e5)
|
Contains utility functions for creating map layers. More...
#include <qgsmaplayerfactory.h>
Static Public Member Functions | |
static QgsMapLayerType | typeFromString (const QString &string, bool &ok) |
Returns the map layer type corresponding a string value. More... | |
static QString | typeToString (QgsMapLayerType type) |
Converts a map layer type to a string value. More... | |
Contains utility functions for creating map layers.
Definition at line 32 of file qgsmaplayerfactory.h.
|
static |
Returns the map layer type corresponding a string value.
string | string to convert to map layer type |
ok | will be set to true if string was successfully converted to a map layer type |
Definition at line 20 of file qgsmaplayerfactory.cpp.
|
static |
Converts a map layer type to a string value.
Definition at line 42 of file qgsmaplayerfactory.cpp.