QGIS API Documentation 3.30.0-'s-Hertogenbosch (f186b8efe0)
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 440 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 3262 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 3688 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 3322 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 3473 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 3275 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 3609 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 3645 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 3484 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 3576 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 3592 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 3439 of file qgsogcutils.cpp.


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