QGIS API Documentation  3.20.0-Odense (decaadbb31)
Public Member Functions | List of all members
QgsOgcUtilsExpressionFromFilter Class Reference

Internal use by QgsOgcUtils. More...

#include <qgsogcutils.h>

Public Member Functions

 QgsOgcUtilsExpressionFromFilter (QgsOgcUtils::FilterVersion version=QgsOgcUtils::FILTER_OGC_1_0, const QgsVectorLayer *layer=nullptr)
 Constructor for QgsOgcUtilsExpressionFromFilter. More...
 
QString errorMessage () const
 Returns the underlying error message, or an empty string in case of no error. More...
 
QgsExpressionNodeBinaryOperatornodeBinaryOperatorFromOgcFilter (const QDomElement &element)
 Returns an expression node from a WFS filter embedded in a document with binary operators. More...
 
QgsExpressionNodeColumnRefnodeColumnRefFromOgcFilter (const QDomElement &element)
 Returns an expression node from a WFS filter embedded in a document with column references. More...
 
QgsExpressionNodenodeFromOgcFilter (const QDomElement &element)
 Returns an expression node from a WFS filter embedded in a document element. More...
 
QgsExpressionNodeFunctionnodeFunctionFromOgcFilter (const QDomElement &element)
 Returns an expression node from a WFS filter embedded in a document with functions. More...
 
QgsExpressionNodenodeIsBetweenFromOgcFilter (const QDomElement &element)
 Returns an expression node from a WFS filter embedded in a document with boudnaries operator. More...
 
QgsExpressionNodenodeLiteralFromOgcFilter (const QDomElement &element)
 Returns an expression node from a WFS filter embedded in a document with literal tag. More...
 
QgsExpressionNodeUnaryOperatornodeNotFromOgcFilter (const QDomElement &element)
 Returns an expression node from a WFS filter embedded in a document with Not operator. More...
 
QgsExpressionNodeBinaryOperatornodePropertyIsNullFromOgcFilter (const QDomElement &element)
 Returns an expression node from a WFS filter embedded in a document with IsNull operator. More...
 
QgsExpressionNodeFunctionnodeSpatialOperatorFromOgcFilter (const QDomElement &element)
 Returns an expression node from a WFS filter embedded in a document with spatial operators. More...
 

Detailed Description

Internal use by QgsOgcUtils.

Note
not available in Python bindings
Since
QGIS 3.4

Definition at line 409 of file qgsogcutils.h.

Constructor & Destructor Documentation

◆ QgsOgcUtilsExpressionFromFilter()

QgsOgcUtilsExpressionFromFilter::QgsOgcUtilsExpressionFromFilter ( QgsOgcUtils::FilterVersion  version = QgsOgcUtils::FILTER_OGC_1_0,
const QgsVectorLayer layer = nullptr 
)

Constructor for QgsOgcUtilsExpressionFromFilter.

Parameters
versionWFS Version
layerLayer to use to retrieve field values from literal filters

Definition at line 3186 of file qgsogcutils.cpp.

Member Function Documentation

◆ errorMessage()

QString QgsOgcUtilsExpressionFromFilter::errorMessage ( ) const

Returns the underlying error message, or an empty string in case of no error.

Definition at line 3601 of file qgsogcutils.cpp.

◆ nodeBinaryOperatorFromOgcFilter()

QgsExpressionNodeBinaryOperator * QgsOgcUtilsExpressionFromFilter::nodeBinaryOperatorFromOgcFilter ( const QDomElement &  element)

Returns an expression node from a WFS filter embedded in a document with binary operators.

Definition at line 3246 of file qgsogcutils.cpp.

◆ nodeColumnRefFromOgcFilter()

QgsExpressionNodeColumnRef * QgsOgcUtilsExpressionFromFilter::nodeColumnRefFromOgcFilter ( const QDomElement &  element)

Returns an expression node from a WFS filter embedded in a document with column references.

Definition at line 3391 of file qgsogcutils.cpp.

◆ nodeFromOgcFilter()

QgsExpressionNode * QgsOgcUtilsExpressionFromFilter::nodeFromOgcFilter ( const QDomElement &  element)

Returns an expression node from a WFS filter embedded in a document element.

nullptr is returned when an error happened.

Parameters
elementThe WFS filter

Definition at line 3199 of file qgsogcutils.cpp.

◆ nodeFunctionFromOgcFilter()

QgsExpressionNodeFunction * QgsOgcUtilsExpressionFromFilter::nodeFunctionFromOgcFilter ( const QDomElement &  element)

Returns an expression node from a WFS filter embedded in a document with functions.

Definition at line 3522 of file qgsogcutils.cpp.

◆ nodeIsBetweenFromOgcFilter()

QgsExpressionNode * QgsOgcUtilsExpressionFromFilter::nodeIsBetweenFromOgcFilter ( const QDomElement &  element)

Returns an expression node from a WFS filter embedded in a document with boudnaries operator.

Definition at line 3558 of file qgsogcutils.cpp.

◆ nodeLiteralFromOgcFilter()

QgsExpressionNode * QgsOgcUtilsExpressionFromFilter::nodeLiteralFromOgcFilter ( const QDomElement &  element)

Returns an expression node from a WFS filter embedded in a document with literal tag.

Definition at line 3402 of file qgsogcutils.cpp.

◆ nodeNotFromOgcFilter()

QgsExpressionNodeUnaryOperator * QgsOgcUtilsExpressionFromFilter::nodeNotFromOgcFilter ( const QDomElement &  element)

Returns an expression node from a WFS filter embedded in a document with Not operator.

Definition at line 3489 of file qgsogcutils.cpp.

◆ nodePropertyIsNullFromOgcFilter()

QgsExpressionNodeBinaryOperator * QgsOgcUtilsExpressionFromFilter::nodePropertyIsNullFromOgcFilter ( const QDomElement &  element)

Returns an expression node from a WFS filter embedded in a document with IsNull operator.

Definition at line 3505 of file qgsogcutils.cpp.

◆ nodeSpatialOperatorFromOgcFilter()

QgsExpressionNodeFunction * QgsOgcUtilsExpressionFromFilter::nodeSpatialOperatorFromOgcFilter ( const QDomElement &  element)

Returns an expression node from a WFS filter embedded in a document with spatial operators.

Definition at line 3357 of file qgsogcutils.cpp.


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