A class that can be used in a GROUP BY clause. More...
#include <GroupByItem.h>
Public Member Functions | |
| Expression * | getExpression () const | 
| It returns the exprsssion to be used to sort the result of a query.  More... | |
| GroupByItem (const Expression &e) | |
| Constructor.  More... | |
| GroupByItem (Expression *e) | |
| Constructor.  More... | |
| GroupByItem (const std::string &propertyName) | |
| Constructor.  More... | |
| GroupByItem (const GroupByItem &rhs) | |
| Copy constructor.  More... | |
| GroupByItem & | operator= (const GroupByItem &rhs) | 
| void | setExpression (Expression *e) | 
| It sets the expression to sort the result of a query.  More... | |
| ~GroupByItem () | |
| Destructor.  More... | |
Private Attributes | |
| std::auto_ptr< Expression > | m_field | 
| A valid expression.  More... | |
A class that can be used in a GROUP BY clause.
Definition at line 50 of file GroupByItem.h.
      
  | 
  explicit | 
Constructor.
| e | An expression to be used in an GROUP BY clause. | 
| order | The sort order. | 
Definition at line 31 of file GroupByItem.cpp.
      
  | 
  explicit | 
Constructor.
| e | An expression to be used in an GROUP BY clause. | 
| order | The sort order. | 
Definition at line 36 of file GroupByItem.cpp.
      
  | 
  explicit | 
Constructor.
| propertyName | A property name. | 
| order | The sort order. | 
Definition at line 41 of file GroupByItem.cpp.
      
  | 
  explicit | 
| te::da::GroupByItem::~GroupByItem | ( | ) | 
Destructor.
Definition at line 52 of file GroupByItem.cpp.
| te::da::Expression * te::da::GroupByItem::getExpression | ( | ) | const | 
It returns the exprsssion to be used to sort the result of a query.
Definition at line 71 of file GroupByItem.cpp.
Referenced by te::serialize::xml::Save().
| te::da::GroupByItem & te::da::GroupByItem::operator= | ( | const GroupByItem & | rhs | ) | 
| void te::da::GroupByItem::setExpression | ( | Expression * | e | ) | 
It sets the expression to sort the result of a query.
| e | The expression to be used to sort the result of a query. | 
Definition at line 66 of file GroupByItem.cpp.
      
  | 
  private | 
A valid expression.
Definition at line 107 of file GroupByItem.h.
Referenced by GroupByItem(), and operator=().