te::da::Having Class Reference

A class that can be used to model a filter expression that can be applied to a query. More...

#include <Having.h>

Public Member Functions

ExpressiongetExp () const
 
 Having (Expression *e)
 Constructor. More...
 
 Having (const Expression &e)
 
 Having (const Having &rhs)
 
Havingoperator= (const Having &rhs)
 
void setExp (Expression *exp)
 Sets the expression. More...
 
 ~Having ()
 

Private Attributes

std::auto_ptr< Expressionm_exp
 The expression that defines the where clause. More...
 

Detailed Description

A class that can be used to model a filter expression that can be applied to a query.

Definition at line 47 of file Having.h.

Constructor & Destructor Documentation

te::da::Having::Having ( Expression e)
explicit

Constructor.

Parameters
eThe where expression.
Note
The Having clause will take the ownership of the expression.
te::da::Having::Having ( const Expression e)
explicit
te::da::Having::Having ( const Having rhs)
te::da::Having::~Having ( )

Member Function Documentation

Expression* te::da::Having::getExp ( ) const
Having& te::da::Having::operator= ( const Having rhs)
void te::da::Having::setExp ( Expression exp)

Sets the expression.

Parameters
eThe where expression.
Note
The Having clause will take the ownership of the expression.

Member Data Documentation

std::auto_ptr<Expression> te::da::Having::m_exp
private

The expression that defines the where clause.

Definition at line 81 of file Having.h.


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