QGIS API Documentation  2.11.0-Master
Public Member Functions | Protected Attributes | List of all members
QgsExpression::NodeUnaryOperator Class Reference

#include <qgsexpression.h>

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

Public Member Functions

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

Protected Attributes

UnaryOperator mOp
 
NodemOperand
 

Detailed Description

Definition at line 503 of file qgsexpression.h.

Constructor & Destructor Documentation

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

Definition at line 506 of file qgsexpression.h.

QgsExpression::NodeUnaryOperator::~NodeUnaryOperator ( )
inline

Definition at line 507 of file qgsexpression.h.

Member Function Documentation

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

Implements QgsExpression::Node.

Definition at line 519 of file qgsexpression.h.

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

Implements QgsExpression::Node.

Definition at line 2274 of file qgsexpression.cpp.

QVariant QgsExpression::NodeUnaryOperator::eval ( QgsExpression parent,
const QgsFeature f 
)
overridevirtual

Implements QgsExpression::Node.

Definition at line 2241 of file qgsexpression.cpp.

virtual bool QgsExpression::NodeUnaryOperator::needsGeometry ( ) const
inlineoverridevirtual

Implements QgsExpression::Node.

Definition at line 518 of file qgsexpression.h.

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

Implements QgsExpression::Node.

Definition at line 512 of file qgsexpression.h.

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

Definition at line 509 of file qgsexpression.h.

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

Definition at line 510 of file qgsexpression.h.

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

Implements QgsExpression::Node.

Definition at line 2269 of file qgsexpression.cpp.

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

Implements QgsExpression::Node.

Definition at line 517 of file qgsexpression.h.

Member Data Documentation

UnaryOperator QgsExpression::NodeUnaryOperator::mOp
protected

Definition at line 522 of file qgsexpression.h.

Node* QgsExpression::NodeUnaryOperator::mOperand
protected

Definition at line 523 of file qgsexpression.h.


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