kexi

KexiDB::UnaryExpr Class Reference

#include <expression.h>

Inheritance diagram for KexiDB::UnaryExpr:

KexiDB::BaseExpr List of all members.

Detailed Description

An unary argument operation: + - NOT (or !) ~ "IS NULL" "IS NOT NULL".

Definition at line 138 of file expression.h.


Public Member Functions

 UnaryExpr (int token, BaseExpr *arg)
virtual ~UnaryExpr ()
virtual Field::Type type ()
virtual QString debugString ()
virtual QString toString (QuerySchemaParameterValueListIterator *params=0)
virtual void getQueryParameters (QuerySchemaParameterList &params)
BaseExprarg () const
virtual bool validate (ParseInfo &parseInfo)

Public Attributes

BaseExprm_arg

Member Function Documentation

QString UnaryExpr::toString ( QuerySchemaParameterValueListIterator params = 0  )  [virtual]

Returns:
string as a representation of this expression element by running recursive calls. param, if not 0, points to a list item containing value of a query parameter (used in QueryParameterExpr).

Implements KexiDB::BaseExpr.

Definition at line 223 of file expression.cpp.

void UnaryExpr::getQueryParameters ( QuerySchemaParameterList params  )  [virtual]

Collects query parameters (messages and types) reculsively and saves them to params. The leaf nodes are objects of QueryParameterExpr class.

Implements KexiDB::BaseExpr.

Definition at line 238 of file expression.cpp.

bool UnaryExpr::validate ( ParseInfo &  parseInfo  )  [virtual]

Reimplemented from KexiDB::BaseExpr.

Definition at line 262 of file expression.cpp.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys