64 m_field.reset(rhs.
m_field.get() ? m_field->clone() : 0);
~OrderByItem()
Destructor.
OrderByItem(const Expression &e, SortOrder order=ASC)
Constructor.
A class that models the name of any property of an object.
std::auto_ptr< Expression > m_field
A valid expression.
A class that models the name of any property of an object.
This is an abstract class that models a query expression.
SortOrder getSortOrder() const
It returns the order of sorting: Asc or Desc.
SortOrder m_order
Sort order.
void setSortOrder(SortOrder o)
It sets the order to be used during the sorting of a query.
OrderByItem & operator=(const OrderByItem &rhs)
This is an abstract class that models a query expression.
SortOrder
Sort order type: asc or desc.
void setExpression(Expression *e)
It sets the expression to sort the result of a query.
A class that can be used in an ORDER BY clause to sort the items of a resulting query.
A class that can be used in an ORDER BY clause to sort the items of a resulting query.
Expression * getExpression() const
It returns the exprsssion to be used to sort the result of a query.