te::da::Where Class Reference

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

#include <Where.h>

Public Member Functions

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

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 Where.h.

Constructor & Destructor Documentation

◆ Where() [1/3]

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

Constructor.

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

◆ Where() [2/3]

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

◆ Where() [3/3]

te::da::Where::Where ( const Where rhs)

◆ ~Where()

te::da::Where::~Where ( )

Member Function Documentation

◆ getExp()

Expression* te::da::Where::getExp ( ) const

◆ operator=()

Where& te::da::Where::operator= ( const Where rhs)

◆ setExp()

void te::da::Where::setExp ( Expression exp)

Sets the expression.

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

Member Data Documentation

◆ m_exp

std::unique_ptr<Expression> te::da::Where::m_exp
private

The expression that defines the where clause.

Definition at line 81 of file Where.h.


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