#include <expression.h>
Public Member Functions | |
| ConstExpr (int token, const TQVariant &val) | |
| ConstExpr (const ConstExpr &expr) | |
| virtual ConstExpr * | copy () const |
| virtual Field::Type | type () |
| virtual TQString | debugString () |
| virtual TQString | toString (QuerySchemaParameterValueListIterator *params=0) |
| virtual void | getQueryParameters (QuerySchemaParameterList ¶ms) |
| virtual bool | validate (ParseInfo &parseInfo) |
Public Member Functions inherited from KexiDB::BaseExpr | |
| BaseExpr (int token) | |
| int | token () const |
| BaseExpr * | parent () const |
| virtual void | setParent (BaseExpr *p) |
| void | debug () |
| TQString | tokenToDebugString () |
| virtual TQString | tokenToString () |
| int | exprClass () const |
| NArgExpr * | toNArg () |
| UnaryExpr * | toUnary () |
| BinaryExpr * | toBinary () |
| ConstExpr * | toConst () |
| VariableExpr * | toVariable () |
| FunctionExpr * | toFunction () |
| QueryParameterExpr * | toQueryParameter () |
Public Attributes | |
| TQVariant | value |
Additional Inherited Members | |
Public Types inherited from KexiDB::BaseExpr | |
| typedef TQPtrList< BaseExpr > | List |
| typedef TQPtrListIterator< BaseExpr > | ListIterator |
Static Public Member Functions inherited from KexiDB::BaseExpr | |
| static TQString | tokenToDebugString (int token) |
Protected Attributes inherited from KexiDB::BaseExpr | |
| int | m_cl |
| BaseExpr * | m_par |
| int | m_token |
Detailed Description
String, integer, float constants also includes NULL value. token can be: IDENTIFIER, SQL_NULL, CHARACTER_STRING_LITERAL, INTEGER_CONST, REAL_CONST
Definition at line 199 of file expression.h.
Constructor & Destructor Documentation
◆ ConstExpr() [1/2]
| ConstExpr::ConstExpr | ( | int | token, |
| const TQVariant & | val | ||
| ) |
Definition at line 467 of file expression.cpp.
◆ ConstExpr() [2/2]
| ConstExpr::ConstExpr | ( | const ConstExpr & | expr | ) |
Definition at line 474 of file expression.cpp.
◆ ~ConstExpr()
|
virtual |
Definition at line 480 of file expression.cpp.
Member Function Documentation
◆ copy()
|
virtual |
- Returns
- a deep copy of this object.
Implements KexiDB::BaseExpr.
Reimplemented in KexiDB::QueryParameterExpr.
Definition at line 484 of file expression.cpp.
◆ debugString()
|
virtual |
Reimplemented from KexiDB::BaseExpr.
Definition at line 525 of file expression.cpp.
◆ getQueryParameters()
|
virtual |
Collects query parameters (messages and types) reculsively and saves them to params. The leaf nodes are objects of QueryParameterExpr class.
Implements KexiDB::BaseExpr.
Reimplemented in KexiDB::QueryParameterExpr.
Definition at line 552 of file expression.cpp.
◆ toString()
|
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.
Reimplemented in KexiDB::QueryParameterExpr.
Definition at line 531 of file expression.cpp.
◆ type()
|
virtual |
Reimplemented from KexiDB::BaseExpr.
Definition at line 489 of file expression.cpp.
◆ validate()
|
virtual |
Reimplemented from KexiDB::BaseExpr.
Definition at line 557 of file expression.cpp.
Member Data Documentation
◆ value
| TQVariant KexiDB::ConstExpr::value |
Definition at line 212 of file expression.h.
The documentation for this class was generated from the following files:

Public Member Functions inherited from