QxOrm  1.5.0
C++ Object Relational Mapping library

qx::dao::detail::QxSqlSort : SQL element to sort or to group list of elements fetched from database (ORDER BY, GROUP BY) More...

#include <QxSqlSort.h>

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

List of all members.

Public Types

enum  type { _order_asc, _order_desc, _group_by }

Public Member Functions

 QxSqlSort ()
 QxSqlSort (int index, QxSqlSort::type t)
virtual ~QxSqlSort ()
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

QxSqlSort::type m_type

Detailed Description

qx::dao::detail::QxSqlSort : SQL element to sort or to group list of elements fetched from database (ORDER BY, GROUP BY)

Definition at line 56 of file QxSqlSort.h.


Member Enumeration Documentation

Enumerator:
_order_asc 
_order_desc 
_group_by 

Definition at line 61 of file QxSqlSort.h.


Constructor & Destructor Documentation

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

Member Function Documentation

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

Member Data Documentation

Definition at line 65 of file QxSqlSort.h.


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