Go to the documentation of this file.
   26 #ifndef __TERRALIB_DATAACCESS_INTERNAL_ORDERBYITEM_H 
   27 #define __TERRALIB_DATAACCESS_INTERNAL_ORDERBYITEM_H 
   30 #include "../Config.h" 
  131 #endif  // __TERRALIB_DATAACCESS_INTERNAL_ORDERBYITEM_H 
  
 
OrderByItem(const Expression &e, SortOrder order=ASC)
Constructor.
 
OrderByItem(const OrderByItem &rhs)
Copy constructor.
 
SortOrder
Sort order type: asc or desc.
 
A class that can be used in an ORDER BY clause to sort the items of a resulting query.
 
SortOrder getSortOrder() const
It returns the order of sorting: Asc or Desc.
 
void setSortOrder(SortOrder o)
It sets the order to be used during the sorting of a query.
 
#define TEDATAACCESSEXPORT
You can use this macro in order to export/import classes and functions from this module.
 
OrderByItem & operator=(const OrderByItem &rhs)
 
This is an abstract class that models a query expression.
 
OrderByItem(Expression *e, SortOrder order=ASC)
Constructor.
 
SortOrder m_order
Sort order.
 
std::unique_ptr< Expression > m_field
A valid expression.
 
Expression * getExpression() const
It returns the exprsssion to be used to sort the result of a query.
 
void setExpression(Expression *e)
It sets the expression to sort the result of a query.
 
OrderByItem(const std::string &propertyName, SortOrder order=ASC)
Constructor.
 
~OrderByItem()
Destructor.