QGIS API Documentation 3.34.0-Prizren (ffbdd678812)
Loading...
Searching...
No Matches
Public Member Functions | List of all members
QgsSldExportContext Class Reference

The QgsSldExportContext class 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
 Constructs a copy of SLD export context other.
 
 ~QgsSldExportContext ()=default
 
QString exportFilePath () const
 Returns the export file path for the SLD.
 
Qgis::SldExportOptions exportOptions () const
 Returns the export options.
 
QgsSldExportContextoperator= (const QgsSldExportContext &other)=default
 Copy the values of other into the SLD export context.
 
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 setVendorExtension (const Qgis::SldExportVendorExtension &vendorExtension)
 Sets the vendor extensions to vendorExtension.
 
Qgis::SldExportVendorExtension vendorExtensions () const
 Returns the vendor extension enabled for the SLD export.
 

Detailed Description

The QgsSldExportContext class holds SLD export options and other information related to SLD export of a QGIS layer style.

Since
QGIS 3.30

Definition at line 28 of file qgssldexportcontext.h.

Constructor & Destructor Documentation

◆ QgsSldExportContext() [1/3]

QgsSldExportContext::QgsSldExportContext ( )
default

Constructs a default SLD export context.

◆ ~QgsSldExportContext()

QgsSldExportContext::~QgsSldExportContext ( )
default

◆ QgsSldExportContext() [2/3]

QgsSldExportContext::QgsSldExportContext ( const QgsSldExportContext other)
default

Constructs a copy of SLD export context other.

◆ QgsSldExportContext() [3/3]

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.

Member Function Documentation

◆ exportFilePath()

QString QgsSldExportContext::exportFilePath ( ) const

Returns the export file path for the SLD.

Definition at line 46 of file qgssldexportcontext.cpp.

◆ exportOptions()

Qgis::SldExportOptions QgsSldExportContext::exportOptions ( ) const

Returns the export options.

Definition at line 26 of file qgssldexportcontext.cpp.

◆ operator=()

QgsSldExportContext & QgsSldExportContext::operator= ( const QgsSldExportContext other)
default

Copy the values of other into the SLD export context.

◆ setExportFilePath()

void QgsSldExportContext::setExportFilePath ( const QString &  exportFilePath)

Sets the export file path for the SLD to exportFilePath.

Definition at line 51 of file qgssldexportcontext.cpp.

◆ setExportOptions()

void QgsSldExportContext::setExportOptions ( const Qgis::SldExportOptions &  exportOptions)

Set export options to exportOptions.

Definition at line 31 of file qgssldexportcontext.cpp.

◆ setVendorExtension()

void QgsSldExportContext::setVendorExtension ( const Qgis::SldExportVendorExtension vendorExtension)

Sets the vendor extensions to vendorExtension.

Definition at line 41 of file qgssldexportcontext.cpp.

◆ vendorExtensions()

Qgis::SldExportVendorExtension QgsSldExportContext::vendorExtensions ( ) const

Returns the vendor extension enabled for the SLD export.

Definition at line 36 of file qgssldexportcontext.cpp.


The documentation for this class was generated from the following files: