QxOrm  1.5.0
C++ Object Relational Mapping library

qx::dao::detail::QxSqlExpression : SQL element to build a SQL expression (WHERE, AND, OR, etc.) More...

#include <QxSqlExpression.h>

Inheritance diagram for qx::dao::detail::QxSqlExpression:
qx::dao::detail::IxSqlElement

List of all members.

Public Types

enum  type {
  _where, _and, _or, _open_parenthesis,
  _close_parenthesis
}

Public Member Functions

 QxSqlExpression ()
 QxSqlExpression (int index, QxSqlExpression::type t)
virtual ~QxSqlExpression ()
virtual QString toString () const
virtual void resolve (QSqlQuery &query, qx::QxCollection< QString, QVariantList > *pLstExecBatch=NULL) const
virtual void postProcess (QString &sql) const
virtual IxSqlElement::type_class getTypeClass () const

Protected Member Functions

virtual QString getExtraSettings () const
virtual void setExtraSettings (const QString &s)

Protected Attributes

QxSqlExpression::type m_type

Detailed Description

qx::dao::detail::QxSqlExpression : SQL element to build a SQL expression (WHERE, AND, OR, etc.)

Definition at line 56 of file QxSqlExpression.h.


Member Enumeration Documentation

Enumerator:
_where 
_and 
_or 
_open_parenthesis 
_close_parenthesis 

Definition at line 61 of file QxSqlExpression.h.


Constructor & Destructor Documentation

qx::dao::detail::QxSqlExpression::QxSqlExpression ( )
qx::dao::detail::QxSqlExpression::QxSqlExpression ( int  index,
QxSqlExpression::type  t 
)
virtual qx::dao::detail::QxSqlExpression::~QxSqlExpression ( ) [virtual]

Member Function Documentation

virtual QString qx::dao::detail::QxSqlExpression::getExtraSettings ( ) const [protected, virtual]
virtual IxSqlElement::type_class qx::dao::detail::QxSqlExpression::getTypeClass ( ) const [virtual]
virtual void qx::dao::detail::QxSqlExpression::postProcess ( QString &  sql) const [virtual]
virtual void qx::dao::detail::QxSqlExpression::resolve ( QSqlQuery &  query,
qx::QxCollection< QString, QVariantList > *  pLstExecBatch = NULL 
) const [virtual]
virtual void qx::dao::detail::QxSqlExpression::setExtraSettings ( const QString &  s) [protected, virtual]
virtual QString qx::dao::detail::QxSqlExpression::toString ( ) const [virtual]

Member Data Documentation


The documentation for this class was generated from the following file: