All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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.

Definition at line 30 of file Having.cpp.

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

Definition at line 35 of file Having.cpp.

te::da::Having::Having ( const Having rhs)

Definition at line 40 of file Having.cpp.

References m_exp.

te::da::Having::~Having ( )

Definition at line 46 of file Having.cpp.

Member Function Documentation

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

Definition at line 50 of file Having.cpp.

References m_exp.

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.

Definition at line 65 of file Having.cpp.

Referenced by te::da::Select::having().

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.

Referenced by Having(), and operator=().


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