QGIS API Documentation  2.5.0-Master
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Functions | Variables
qgsogcutils.cpp File Reference
#include "qgsogcutils.h"
#include "qgsexpression.h"
#include "qgsgeometry.h"
#include <QColor>
#include <QStringList>
#include <QTextStream>
#include <netinet/in.h>
Include dependency graph for qgsogcutils.cpp:

Go to the source code of this file.

Functions

static const QMap< QString, int > & binaryOperatorsTagNamesMap ()
 
static int binaryOperatorFromTagName (const QString &tagName)
 
static QString binaryOperatorToTagName (QgsExpression::BinaryOperator op)
 
static bool isBinaryOperator (const QString &tagName)
 
static bool isSpatialOperator (const QString &tagName)
 
static QMap< QString, QString > binarySpatialOpsMap ()
 
static bool isBinarySpatialOperator (const QString &fnName)
 
static QString tagNameForSpatialOperator (const QString &fnName)
 
static bool isGeometryColumn (const QgsExpression::Node *node)
 
static QgsGeometrygeometryFromConstExpr (const QgsExpression::Node *node)
 

Variables

static const QString GML_NAMESPACE = "http://www.opengis.net/gml"
 
static const QString OGC_NAMESPACE = "http://www.opengis.net/ogc"
 

Function Documentation

static int binaryOperatorFromTagName ( const QString &  tagName)
static
static const QMap<QString, int>& binaryOperatorsTagNamesMap ( )
static
static QString binaryOperatorToTagName ( QgsExpression::BinaryOperator  op)
static
static QMap<QString, QString> binarySpatialOpsMap ( )
static

Definition at line 2067 of file qgsogcutils.cpp.

Referenced by isBinarySpatialOperator(), and tagNameForSpatialOperator().

static QgsGeometry* geometryFromConstExpr ( const QgsExpression::Node node)
static
static bool isBinaryOperator ( const QString &  tagName)
static

Definition at line 1514 of file qgsogcutils.cpp.

References binaryOperatorFromTagName().

Referenced by QgsOgcUtils::nodeFromOgcFilter().

static bool isBinarySpatialOperator ( const QString &  fnName)
static

Definition at line 2083 of file qgsogcutils.cpp.

References binarySpatialOpsMap().

Referenced by QgsOgcUtils::expressionFunctionToOgcFilter().

static bool isGeometryColumn ( const QgsExpression::Node node)
static
static bool isSpatialOperator ( const QString &  tagName)
static

Definition at line 1520 of file qgsogcutils.cpp.

Referenced by QgsOgcUtils::nodeFromOgcFilter().

static QString tagNameForSpatialOperator ( const QString &  fnName)
static

Definition at line 2088 of file qgsogcutils.cpp.

References binarySpatialOpsMap().

Referenced by QgsOgcUtils::expressionFunctionToOgcFilter().

Variable Documentation

const QString GML_NAMESPACE = "http://www.opengis.net/gml"
static
const QString OGC_NAMESPACE = "http://www.opengis.net/ogc"
static

Definition at line 18 of file qgsogcutils.cpp.

Referenced by QgsOgcUtils::expressionToOgcFilter().