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

Constructor & Destructor Documentation

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

Constructor.

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

Member Function Documentation

Expression* te::da::Where::getExp ( ) const
Where& te::da::Where::operator= ( const Where rhs)
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

std::auto_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: