QGIS API Documentation  3.4.15-Madeira (e83d02e274)
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 385 of file qgsogcutils.h.

Constructor & Destructor Documentation

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 3096 of file qgsogcutils.cpp.

Member Function Documentation

QString QgsOgcUtilsExpressionFromFilter::errorMessage ( ) const

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

Definition at line 3511 of file qgsogcutils.cpp.

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

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

Definition at line 3156 of file qgsogcutils.cpp.

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

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

Definition at line 3301 of file qgsogcutils.cpp.

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

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

A null pointer is returned when an error happened.

Parameters
elementThe WFS filter

Definition at line 3109 of file qgsogcutils.cpp.

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

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

Definition at line 3432 of file qgsogcutils.cpp.

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

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

Definition at line 3468 of file qgsogcutils.cpp.

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

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

Definition at line 3312 of file qgsogcutils.cpp.

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

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

Definition at line 3399 of file qgsogcutils.cpp.

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

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

Definition at line 3415 of file qgsogcutils.cpp.

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

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

Definition at line 3267 of file qgsogcutils.cpp.


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