Kexi API Documentation (2.0 alpha)

KexiDB::NArgExpr Class Reference

#include <expression.h>

Inheritance diagram for KexiDB::NArgExpr:

KexiDB::BaseExpr List of all members.

Detailed Description

A base class N-argument operation.

Definition at line 121 of file expression.h.

Public Member Functions

 NArgExpr (int aClass, int token)
virtual ~NArgExpr ()
void add (BaseExpr *expr)
void prepend (BaseExpr *expr)
BaseExprarg (int n)
int args ()
virtual QString debugString ()
virtual QString toString (QuerySchemaParameterValueListIterator *params=0)
virtual void getQueryParameters (QuerySchemaParameterList &params)
virtual bool validate (ParseInfo &parseInfo)

Public Attributes

BaseExpr::List list


Constructor & Destructor Documentation

NArgExpr::NArgExpr int  aClass,
int  token
 

Definition at line 125 of file expression.cpp.

References list, and KexiDB::BaseExpr::m_cl.

NArgExpr::~NArgExpr  )  [virtual]
 

Definition at line 132 of file expression.cpp.


Member Function Documentation

void NArgExpr::add BaseExpr expr  ) 
 

Definition at line 171 of file expression.cpp.

References list.

BaseExpr * NArgExpr::arg int  n  ) 
 

Definition at line 166 of file expression.cpp.

References list.

Referenced by buildSelectQuery().

int NArgExpr::args  ) 
 

Definition at line 183 of file expression.cpp.

References list.

QString NArgExpr::debugString  )  [virtual]
 

Reimplemented from KexiDB::BaseExpr.

Definition at line 136 of file expression.cpp.

References KexiDB::exprClassName(), list, and KexiDB::BaseExpr::m_cl.

void NArgExpr::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 160 of file expression.cpp.

References foreach_list, and list.

Referenced by KexiDB::FunctionExpr::getQueryParameters().

void NArgExpr::prepend BaseExpr expr  ) 
 

Definition at line 177 of file expression.cpp.

References list.

QString NArgExpr::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 148 of file expression.cpp.

References foreach_list, and list.

Referenced by KexiDB::FunctionExpr::toString().

bool NArgExpr::validate ParseInfo parseInfo  )  [virtual]
 

Reimplemented from KexiDB::BaseExpr.

Definition at line 188 of file expression.cpp.

References foreach_list, list, and KexiDB::BaseExpr::validate().

Referenced by KexiDB::FunctionExpr::validate().


Member Data Documentation

BaseExpr::List KexiDB::NArgExpr::list
 

Definition at line 134 of file expression.h.

Referenced by add(), arg(), args(), debugString(), getQueryParameters(), NArgExpr(), prepend(), toString(), and validate().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for Kexi 2.0 alpha.
Documentation copyright © 2002-2007 the Kexi Team.
Generated on Tue Apr 1 20:50:43 2008 by doxygen 1.4.2 written by Dimitri van Heesch, © 1997-2003