kexi
KexiDB::BinaryExpr Class Reference
#include <expression.h>
Inheritance diagram for KexiDB::BinaryExpr:

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 () |
BaseExpr * | left () const |
BaseExpr * | right () const |
virtual bool | validate (ParseInfo &parseInfo) |
virtual QString | tokenToString () |
Public Attributes | |
BaseExpr * | m_larg |
BaseExpr * | m_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: