kexi

KexiDB::BinaryExpr Class Reference

#include <expression.h>

Inheritance diagram for KexiDB::BinaryExpr:

KexiDB::BaseExpr List of all members.

Detailed Description

A base class for binary operation
  • arithmetic operations: + - / * % << >> & | ||
  • relational operations: = (or ==) < > <= >= <> (or !=) LIKE IN 'SIMILAR TO' 'NOT SIMILAR TO'
  • logical operations: OR (or ||) AND (or &&) XOR
  • SpecialBinary "pseudo operators": e.g. "f1 f2" : token == 0 e.g. "f1 AS f2" : token == AS

Definition at line 137 of file expression.h.


Public Member Functions

 BinaryExpr (int aClass, BaseExpr *left_expr, int token, BaseExpr *right_expr)
virtual ~BinaryExpr ()
virtual Field::Type type ()
virtual QString debugString ()
virtual QString toString ()
BaseExprleft () const
BaseExprright () const
virtual bool validate (ParseInfo &parseInfo)
virtual QString tokenToString ()

Public Attributes

BaseExprm_larg
BaseExprm_rarg

Member Function Documentation

QString BinaryExpr::tokenToString (  )  [virtual]

Returns:
string for token, like "<=" or ">"

Reimplemented from KexiDB::BaseExpr.

Definition at line 348 of file expression.cpp.


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