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

Definition at line 30 of file Where.cpp.

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

Definition at line 35 of file Where.cpp.

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

Definition at line 40 of file Where.cpp.

References m_exp.

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

Definition at line 46 of file Where.cpp.

Member Function Documentation

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

Definition at line 50 of file Where.cpp.

References m_exp.

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.

Definition at line 65 of file Where.cpp.

Referenced by te::map::DrawGeometries(), te::map::QueryLayer::getData(), and te::da::Select::where().

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.

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


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