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

#include <qgsexpression.h>

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

Public Member Functions

 NodeLiteral (QVariant value)
QVariant value () 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

QVariant mValue

Detailed Description

Definition at line 505 of file qgsexpression.h.

Constructor & Destructor Documentation

QgsExpression::NodeLiteral::NodeLiteral ( QVariant  value)
inline

Definition at line 508 of file qgsexpression.h.

Member Function Documentation

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

Implements QgsExpression::Node.

Definition at line 519 of file qgsexpression.h.

References QgsExpression::Visitor::visit().

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

Implements QgsExpression::Node.

Definition at line 2246 of file qgsexpression.cpp.

References tr.

QVariant QgsExpression::NodeLiteral::eval ( QgsExpression parent,
const QgsFeature f 
)
virtual

Implements QgsExpression::Node.

Definition at line 2235 of file qgsexpression.cpp.

virtual bool QgsExpression::NodeLiteral::needsGeometry ( ) const
inlinevirtual

Implements QgsExpression::Node.

Definition at line 518 of file qgsexpression.h.

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

Implements QgsExpression::Node.

Definition at line 512 of file qgsexpression.h.

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

Implements QgsExpression::Node.

Definition at line 2240 of file qgsexpression.cpp.

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

Implements QgsExpression::Node.

Definition at line 517 of file qgsexpression.h.

QVariant QgsExpression::NodeLiteral::value ( ) const
inline

Member Data Documentation

QVariant QgsExpression::NodeLiteral::mValue
protected

Definition at line 522 of file qgsexpression.h.


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