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

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 182 of file expression.h.
Public Member Functions | |
| ConstExpr (int token, const QVariant &val) | |
| virtual | ~ConstExpr () |
| virtual Field::Type | type () |
| virtual QString | debugString () |
| virtual QString | toString (QuerySchemaParameterValueListIterator *params=0) |
| virtual void | getQueryParameters (QuerySchemaParameterList ¶ms) |
| virtual bool | validate (ParseInfo &parseInfo) |
Public Attributes | |
| QVariant | value |
Member Function Documentation
| QString ConstExpr::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.
Reimplemented in KexiDB::QueryParameterExpr.
Definition at line 488 of file expression.cpp.
| void ConstExpr::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.
Reimplemented in KexiDB::QueryParameterExpr.
Definition at line 509 of file expression.cpp.
The documentation for this class was generated from the following files:

