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

Detailed Description
variables like fieldname or tablename.fieldname
Definition at line 173 of file expression.h.
Public Member Functions | |
VariableExpr (const QString &_name) | |
virtual | ~VariableExpr () |
virtual Field::Type | type () |
virtual QString | debugString () |
virtual QString | toString () |
virtual bool | validate (ParseInfo &parseInfo) |
Public Attributes | |
QString | name |
Field * | field |
int | tablePositionForField |
TableSchema * | tableForQueryAsterisk |
Member Function Documentation
Field::Type VariableExpr::type | ( | ) | [virtual] |
We're assuming it's called after VariableExpr::validate().
Reimplemented from KexiDB::BaseExpr.
Definition at line 494 of file expression.cpp.
bool VariableExpr::validate | ( | ParseInfo & | parseInfo | ) | [virtual] |
Validation. Sets field, tablePositionForField and tableForQueryAsterisk members. See addColumn() in parse.y to see how it's used on column adding.
Reimplemented from KexiDB::BaseExpr.
Definition at line 505 of file expression.cpp.
Member Data Documentation
QString KexiDB::VariableExpr::name |
Verbatim name as returned by scanner.
Definition at line 187 of file expression.h.
NULL by default. After succesful validate() it will point to a table that is referenced by asterisk, i.e. "*.tablename". This is set to NULL if this variable is not an asterisk of that form.
Definition at line 206 of file expression.h.
The documentation for this class was generated from the following files: