QGIS API Documentation  2.0.1-Dufour
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Protected Attributes | List of all members
QgsExpression::NodeUnaryOperator Class Reference

#include <qgsexpression.h>

Inheritance diagram for QgsExpression::NodeUnaryOperator:
Inheritance graph
[legend]
Collaboration diagram for QgsExpression::NodeUnaryOperator:
Collaboration graph
[legend]

Public Member Functions

 NodeUnaryOperator (UnaryOperator op, Node *operand)
 ~NodeUnaryOperator ()
UnaryOperator op () const
Nodeoperand () const
virtual NodeType nodeType () const
virtual bool prepare (QgsExpression *parent, const QgsFields &fields)
virtual QVariant eval (QgsExpression *parent, const QgsFeature *f)
virtual QString dump () const
virtual QStringList referencedColumns () const
virtual bool needsGeometry () const
virtual void accept (Visitor &v) const
- Public Member Functions inherited from QgsExpression::Node
virtual ~Node ()

Protected Attributes

UnaryOperator mOp
NodemOperand

Detailed Description

Definition at line 401 of file qgsexpression.h.

Constructor & Destructor Documentation

QgsExpression::NodeUnaryOperator::NodeUnaryOperator ( UnaryOperator  op,
Node operand 
)
inline

Definition at line 404 of file qgsexpression.h.

QgsExpression::NodeUnaryOperator::~NodeUnaryOperator ( )
inline

Definition at line 405 of file qgsexpression.h.

Member Function Documentation

virtual void QgsExpression::NodeUnaryOperator::accept ( Visitor v) const
inlinevirtual

Implements QgsExpression::Node.

Definition at line 417 of file qgsexpression.h.

References QgsExpression::Visitor::visit().

QString QgsExpression::NodeUnaryOperator::dump ( ) const
virtual

Implements QgsExpression::Node.

Definition at line 1862 of file qgsexpression.cpp.

References QgsExpression::UnaryOperatorText.

QVariant QgsExpression::NodeUnaryOperator::eval ( QgsExpression parent,
const QgsFeature f 
)
virtual
virtual bool QgsExpression::NodeUnaryOperator::needsGeometry ( ) const
inlinevirtual

Implements QgsExpression::Node.

Definition at line 416 of file qgsexpression.h.

virtual NodeType QgsExpression::NodeUnaryOperator::nodeType ( ) const
inlinevirtual

Implements QgsExpression::Node.

Definition at line 410 of file qgsexpression.h.

UnaryOperator QgsExpression::NodeUnaryOperator::op ( ) const
inline

Definition at line 407 of file qgsexpression.h.

Referenced by QgsOgcUtils::expressionUnaryOperatorToOgcFilter().

Node* QgsExpression::NodeUnaryOperator::operand ( ) const
inline

Definition at line 408 of file qgsexpression.h.

Referenced by QgsOgcUtils::expressionUnaryOperatorToOgcFilter().

bool QgsExpression::NodeUnaryOperator::prepare ( QgsExpression parent,
const QgsFields fields 
)
virtual

Implements QgsExpression::Node.

Definition at line 1857 of file qgsexpression.cpp.

virtual QStringList QgsExpression::NodeUnaryOperator::referencedColumns ( ) const
inlinevirtual

Implements QgsExpression::Node.

Definition at line 415 of file qgsexpression.h.

Member Data Documentation

UnaryOperator QgsExpression::NodeUnaryOperator::mOp
protected

Definition at line 420 of file qgsexpression.h.

Node* QgsExpression::NodeUnaryOperator::mOperand
protected

Definition at line 421 of file qgsexpression.h.


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