QGIS API Documentation  2.3.0-Master
 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 402 of file qgsexpression.h.

Constructor & Destructor Documentation

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

Definition at line 405 of file qgsexpression.h.

QgsExpression::NodeUnaryOperator::~NodeUnaryOperator ( )
inline

Definition at line 406 of file qgsexpression.h.

Member Function Documentation

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

Implements QgsExpression::Node.

Definition at line 418 of file qgsexpression.h.

References QgsExpression::Visitor::visit().

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

Implements QgsExpression::Node.

Definition at line 1945 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 417 of file qgsexpression.h.

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

Implements QgsExpression::Node.

Definition at line 411 of file qgsexpression.h.

References QgsExpression::ntUnaryOperator.

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

Definition at line 408 of file qgsexpression.h.

Referenced by QgsOgcUtils::expressionUnaryOperatorToOgcFilter().

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

Definition at line 409 of file qgsexpression.h.

Referenced by QgsOgcUtils::expressionUnaryOperatorToOgcFilter().

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

Implements QgsExpression::Node.

Definition at line 1940 of file qgsexpression.cpp.

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

Implements QgsExpression::Node.

Definition at line 416 of file qgsexpression.h.

Member Data Documentation

UnaryOperator QgsExpression::NodeUnaryOperator::mOp
protected

Definition at line 421 of file qgsexpression.h.

Node* QgsExpression::NodeUnaryOperator::mOperand
protected

Definition at line 422 of file qgsexpression.h.


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