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

Detailed Description
- aggregation functions like SUM, COUNT, MAX, .
..
- builtin functions like CURRENT_TIME()
- user defined functions
Definition at line 288 of file expression.h.
Public Member Functions | |
FunctionExpr (const QString &_name, NArgExpr *args_=0) | |
FunctionExpr (const FunctionExpr &expr) | |
virtual | ~FunctionExpr () |
virtual FunctionExpr * | copy () const |
virtual Field::Type | type () |
virtual QString | debugString () |
virtual QString | toString (QuerySchemaParameterValueListIterator *params=0) |
virtual void | getQueryParameters (QuerySchemaParameterList ¶ms) |
virtual bool | validate (ParseInfo &parseInfo) |
Static Public Member Functions | |
static QValueList< QCString > | builtInAggregates () |
static bool | isBuiltInAggregate (const QCString &fname) |
Public Attributes | |
QString | name |
NArgExpr * | args |
Member Function Documentation
FunctionExpr * FunctionExpr::copy | ( | ) | const [virtual] |
- Returns:
- a deep copy of this object.
Implements KexiDB::BaseExpr.
Definition at line 872 of file expression.cpp.
QString FunctionExpr::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.
Definition at line 887 of file expression.cpp.
void FunctionExpr::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.
Definition at line 892 of file expression.cpp.
The documentation for this class was generated from the following files: