QGIS API Documentation  2.5.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::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 519 of file qgsexpression.h.

Constructor & Destructor Documentation

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

Definition at line 522 of file qgsexpression.h.

Member Function Documentation

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

Implements QgsExpression::Node.

Definition at line 533 of file qgsexpression.h.

References QgsExpression::Visitor::visit().

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

Implements QgsExpression::Node.

Definition at line 2514 of file qgsexpression.cpp.

References QgsExpression::quotedString(), and tr.

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

Implements QgsExpression::Node.

Definition at line 2503 of file qgsexpression.cpp.

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

Implements QgsExpression::Node.

Definition at line 532 of file qgsexpression.h.

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

Implements QgsExpression::Node.

Definition at line 526 of file qgsexpression.h.

References QgsExpression::ntLiteral.

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

Implements QgsExpression::Node.

Definition at line 2508 of file qgsexpression.cpp.

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

Implements QgsExpression::Node.

Definition at line 531 of file qgsexpression.h.

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

Member Data Documentation

QVariant QgsExpression::NodeLiteral::mValue
protected

Definition at line 536 of file qgsexpression.h.


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