| QGIS API Documentation 3.99.0-Master (f78f5286a64)
    | 
Holds SLD export options and other information related to SLD export of a QGIS layer style. More...
#include <qgssldexportcontext.h>
| Public Member Functions | |
| QgsSldExportContext ()=default | |
| Constructs a default SLD export context. | |
| QgsSldExportContext (const Qgis::SldExportOptions &options, const Qgis::SldExportVendorExtension &vendorExtension, const QString &filePath) | |
| /brief Create a new QgsSldExportContext /param options SLD export options /param vendorExtension SLD export vendor extension /param filePath SLD export file path | |
| QgsSldExportContext (const QgsSldExportContext &other)=default | |
| ~QgsSldExportContext ()=default | |
| QStringList | errors () const | 
| Returns a list of errors which occurred during the conversion. | |
| QString | exportFilePath () const | 
| Returns the export file path for the SLD. | |
| Qgis::SldExportOptions | exportOptions () const | 
| Returns the export options. | |
| QVariantMap | extraProperties () const | 
| Returns the open ended set of properties that can drive/inform the SLD encoding. | |
| QgsSldExportContext & | operator= (const QgsSldExportContext &other)=default | 
| void | pushError (const QString &error) | 
| Pushes a error message generated during the conversion. | |
| void | pushWarning (const QString &warning) | 
| Pushes a warning message generated during the conversion. | |
| void | setExportFilePath (const QString &exportFilePath) | 
| Sets the export file path for the SLD to exportFilePath. | |
| void | setExportOptions (const Qgis::SldExportOptions &exportOptions) | 
| Set export options to exportOptions. | |
| void | setExtraProperties (const QVariantMap &properties) | 
| Sets the open ended set of properties that can drive/inform the SLD encoding. | |
| void | setVendorExtension (const Qgis::SldExportVendorExtension &vendorExtension) | 
| Sets the vendor extensions to vendorExtension. | |
| Qgis::SldExportVendorExtension | vendorExtensions () const | 
| Returns the vendor extension enabled for the SLD export. | |
| QStringList | warnings () const | 
| Returns a list of warnings which occurred during the conversion. | |
Holds SLD export options and other information related to SLD export of a QGIS layer style.
Definition at line 28 of file qgssldexportcontext.h.
| 
 | default | 
Constructs a default SLD export context.
| 
 | default | 
| 
 | default | 
| QgsSldExportContext::QgsSldExportContext | ( | const Qgis::SldExportOptions & | options, | 
| const Qgis::SldExportVendorExtension & | vendorExtension, | ||
| const QString & | filePath | ||
| ) | 
/brief Create a new QgsSldExportContext /param options SLD export options /param vendorExtension SLD export vendor extension /param filePath SLD export file path
Definition at line 18 of file qgssldexportcontext.cpp.
| 
 | inline | 
Returns a list of errors which occurred during the conversion.
Definition at line 87 of file qgssldexportcontext.h.
| QString QgsSldExportContext::exportFilePath | ( | ) | const | 
Returns the export file path for the SLD.
Definition at line 46 of file qgssldexportcontext.cpp.
| Qgis::SldExportOptions QgsSldExportContext::exportOptions | ( | ) | const | 
Returns the export options.
Definition at line 26 of file qgssldexportcontext.cpp.
| QVariantMap QgsSldExportContext::extraProperties | ( | ) | const | 
Returns the open ended set of properties that can drive/inform the SLD encoding.
Definition at line 56 of file qgssldexportcontext.cpp.
| 
 | default | 
| 
 | inline | 
Pushes a error message generated during the conversion.
Definition at line 96 of file qgssldexportcontext.h.
| 
 | inline | 
Pushes a warning message generated during the conversion.
Definition at line 114 of file qgssldexportcontext.h.
| void QgsSldExportContext::setExportFilePath | ( | const QString & | exportFilePath | ) | 
Sets the export file path for the SLD to exportFilePath.
Definition at line 51 of file qgssldexportcontext.cpp.
| void QgsSldExportContext::setExportOptions | ( | const Qgis::SldExportOptions & | exportOptions | ) | 
Set export options to exportOptions.
Definition at line 31 of file qgssldexportcontext.cpp.
| void QgsSldExportContext::setExtraProperties | ( | const QVariantMap & | properties | ) | 
Sets the open ended set of properties that can drive/inform the SLD encoding.
Definition at line 61 of file qgssldexportcontext.cpp.
| void QgsSldExportContext::setVendorExtension | ( | const Qgis::SldExportVendorExtension & | vendorExtension | ) | 
Sets the vendor extensions to vendorExtension.
Definition at line 41 of file qgssldexportcontext.cpp.
| Qgis::SldExportVendorExtension QgsSldExportContext::vendorExtensions | ( | ) | const | 
Returns the vendor extension enabled for the SLD export.
Definition at line 36 of file qgssldexportcontext.cpp.
| 
 | inline | 
Returns a list of warnings which occurred during the conversion.
Definition at line 105 of file qgssldexportcontext.h.