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::unique_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, and ~Having().

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

Referenced by Having().

Member Function Documentation

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

Definition at line 48 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 63 of file Having.cpp.

References m_exp.

Member Data Documentation

std::unique_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 getExp(), Having(), operator=(), and setExp().


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