#include "qgsogcutils.h"
#include "qgsexpression.h"
#include "qgsexpressionnodeimpl.h"
#include "qgsexpressionfunction.h"
#include "qgsexpression_p.h"
#include "qgsgeometry.h"
#include "qgswkbptr.h"
#include "qgscoordinatereferencesystem.h"
#include "qgsrectangle.h"
#include "qgsvectorlayer.h"
#include "qgsexpressioncontextutils.h"
#include "qgslogger.h"
#include "qgsstringutils.h"
#include <QColor>
#include <QStringList>
#include <QTextStream>
#include <QObject>
#include <QRegularExpression>
#include <netinet/in.h>
Go to the source code of this file.
|
#define | FES_NAMESPACE QStringLiteral( "http://www.opengis.net/fes/2.0" ) |
|
#define | GML32_NAMESPACE QStringLiteral( "http://www.opengis.net/gml/3.2" ) |
|
#define | GML_NAMESPACE QStringLiteral( "http://www.opengis.net/gml" ) |
|
#define | OGC_NAMESPACE QStringLiteral( "http://www.opengis.net/ogc" ) |
|
#define | SE_NAMESPACE QStringLiteral( "http://www.opengis.net/se" ) |
|
|
typedef QMap< QString, int > | IntMap |
|
|
| Q_GLOBAL_STATIC_WITH_ARGS (IntMap, BINARY_OPERATORS_TAG_NAMES_MAP,({ { QLatin1String("Or"), QgsExpressionNodeBinaryOperator::boOr }, { QLatin1String("And"), QgsExpressionNodeBinaryOperator::boAnd }, { QLatin1String("PropertyIsEqualTo"), QgsExpressionNodeBinaryOperator::boEQ }, { QLatin1String("PropertyIsNotEqualTo"), QgsExpressionNodeBinaryOperator::boNE }, { QLatin1String("PropertyIsLessThanOrEqualTo"), QgsExpressionNodeBinaryOperator::boLE }, { QLatin1String("PropertyIsGreaterThanOrEqualTo"), QgsExpressionNodeBinaryOperator::boGE }, { QLatin1String("PropertyIsLessThan"), QgsExpressionNodeBinaryOperator::boLT }, { QLatin1String("PropertyIsGreaterThan"), QgsExpressionNodeBinaryOperator::boGT }, { QLatin1String("PropertyIsLike"), QgsExpressionNodeBinaryOperator::boLike }, { QLatin1String("Add"), QgsExpressionNodeBinaryOperator::boPlus }, { QLatin1String("Sub"), QgsExpressionNodeBinaryOperator::boMinus }, { QLatin1String("Mul"), QgsExpressionNodeBinaryOperator::boMul }, { QLatin1String("Div"), QgsExpressionNodeBinaryOperator::boDiv }, })) static int binaryOperatorFromTagName(const QString &tagName) |
|
| Q_GLOBAL_STATIC_WITH_ARGS (QgsStringMap, BINARY_SPATIAL_OPS_MAP,({ { QLatin1String("disjoint"), QLatin1String("Disjoint") }, { QLatin1String("intersects"), QLatin1String("Intersects")}, { QLatin1String("touches"), QLatin1String("Touches") }, { QLatin1String("crosses"), QLatin1String("Crosses") }, { QLatin1String("contains"), QLatin1String("Contains") }, { QLatin1String("overlaps"), QLatin1String("Overlaps") }, { QLatin1String("within"), QLatin1String("Within") } })) static bool isBinarySpatialOperator(const QString &fnName) |
|
◆ FES_NAMESPACE
#define FES_NAMESPACE QStringLiteral( "http://www.opengis.net/fes/2.0" ) |
◆ GML32_NAMESPACE
#define GML32_NAMESPACE QStringLiteral( "http://www.opengis.net/gml/3.2" ) |
◆ GML_NAMESPACE
#define GML_NAMESPACE QStringLiteral( "http://www.opengis.net/gml" ) |
◆ OGC_NAMESPACE
#define OGC_NAMESPACE QStringLiteral( "http://www.opengis.net/ogc" ) |
◆ SE_NAMESPACE
#define SE_NAMESPACE QStringLiteral( "http://www.opengis.net/se" ) |
◆ IntMap
typedef QMap<QString, int> IntMap |
◆ Q_GLOBAL_STATIC_WITH_ARGS() [1/2]
Q_GLOBAL_STATIC_WITH_ARGS |
( |
IntMap |
, |
|
|
BINARY_OPERATORS_TAG_NAMES_MAP |
, |
|
|
({ { QLatin1String("Or"), QgsExpressionNodeBinaryOperator::boOr }, { QLatin1String("And"), QgsExpressionNodeBinaryOperator::boAnd }, { QLatin1String("PropertyIsEqualTo"), QgsExpressionNodeBinaryOperator::boEQ }, { QLatin1String("PropertyIsNotEqualTo"), QgsExpressionNodeBinaryOperator::boNE }, { QLatin1String("PropertyIsLessThanOrEqualTo"), QgsExpressionNodeBinaryOperator::boLE }, { QLatin1String("PropertyIsGreaterThanOrEqualTo"), QgsExpressionNodeBinaryOperator::boGE }, { QLatin1String("PropertyIsLessThan"), QgsExpressionNodeBinaryOperator::boLT }, { QLatin1String("PropertyIsGreaterThan"), QgsExpressionNodeBinaryOperator::boGT }, { QLatin1String("PropertyIsLike"), QgsExpressionNodeBinaryOperator::boLike }, { QLatin1String("Add"), QgsExpressionNodeBinaryOperator::boPlus }, { QLatin1String("Sub"), QgsExpressionNodeBinaryOperator::boMinus }, { QLatin1String("Mul"), QgsExpressionNodeBinaryOperator::boMul }, { QLatin1String("Div"), QgsExpressionNodeBinaryOperator::boDiv },}) |
|
|
) |
| const & |
◆ Q_GLOBAL_STATIC_WITH_ARGS() [2/2]
Q_GLOBAL_STATIC_WITH_ARGS |
( |
QgsStringMap |
, |
|
|
BINARY_SPATIAL_OPS_MAP |
, |
|
|
({ { QLatin1String("disjoint"), QLatin1String("Disjoint") }, { QLatin1String("intersects"), QLatin1String("Intersects")}, { QLatin1String("touches"), QLatin1String("Touches") }, { QLatin1String("crosses"), QLatin1String("Crosses") }, { QLatin1String("contains"), QLatin1String("Contains") }, { QLatin1String("overlaps"), QLatin1String("Overlaps") }, { QLatin1String("within"), QLatin1String("Within") }}) |
|
|
) |
| const & |