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