te::fe::PropertyIsBetween Class Referenceabstract

The PropertyIsBetween element is defined as a compact way of encoding a range check. More...

#include <PropertyIsBetween.h>

Inheritance diagram for te::fe::PropertyIsBetween:
te::fe::ComparisonOp te::fe::AbstractOp te::common::BaseVisitable< Visitor >

Public Types

typedef void ReturnType
 
typedef Visitor VisitorType
 

Public Member Functions

virtual ReturnType accept (VisitorType &guest) const =0
 It call the visit method from the guest object. More...
 
Initializer Methods

Methods related to instantiation and destruction.

 PropertyIsBetween ()
 It initializes a new PropertyIsBetween. More...
 
 ~PropertyIsBetween ()
 Destructor. More...
 
Accessor methods

Methods used to get or set properties.

void setExpression (Expression *e)
 It sets the between expression. More...
 
ExpressiongetExpression () const
 It returns the between expression. More...
 
void setLowerBoundary (Expression *e)
 It sets the lower boundary expression. More...
 
ExpressiongetLowerBoundary () const
 It returns the lower boundary expression. More...
 
void setUpperBoundary (Expression *e)
 It sets the lower boundary expression. More...
 
ExpressiongetUpperBoundary () const
 It returns the upper boundary expression. More...
 
Accessor methods

Methods used to get or set properties.

const char * getName () const
 It returns the operator name. More...
 
void setName (const char *opName)
 It sets the operator name. More...
 

Protected Attributes

const char * m_name
 Operator name. More...
 

Private Attributes

Expressionm_expression
 Mandatory. More...
 
Expressionm_lowerBoundary
 Mandatory. More...
 
Expressionm_upperBoundary
 Mandatory. More...
 

Detailed Description

The PropertyIsBetween element is defined as a compact way of encoding a range check.

The lower and upper boundary values are inclusive.

See also
ComparisonOp, Expression

Definition at line 47 of file PropertyIsBetween.h.

Member Typedef Documentation

typedef void te::common::BaseVisitable< Visitor , void >::ReturnType
inherited

Definition at line 58 of file BaseVisitable.h.

typedef Visitor te::common::BaseVisitable< Visitor , void >::VisitorType
inherited

Definition at line 57 of file BaseVisitable.h.

Constructor & Destructor Documentation

te::fe::PropertyIsBetween::PropertyIsBetween ( )

It initializes a new PropertyIsBetween.

te::fe::PropertyIsBetween::~PropertyIsBetween ( )

Destructor.

Member Function Documentation

virtual ReturnType te::common::BaseVisitable< Visitor , void >::accept ( VisitorType guest) const
pure virtualinherited

It call the visit method from the guest object.

Parameters
guestThe guest or visitor.
Returns
Any valid value define by the template type R.
Expression* te::fe::PropertyIsBetween::getExpression ( ) const

It returns the between expression.

Returns
The between expression.
Expression* te::fe::PropertyIsBetween::getLowerBoundary ( ) const

It returns the lower boundary expression.

Returns
The lower boundary expression.
const char* te::fe::AbstractOp::getName ( ) const
inlineinherited

It returns the operator name.

Returns
The operator name.

Definition at line 82 of file AbstractOp.h.

Expression* te::fe::PropertyIsBetween::getUpperBoundary ( ) const

It returns the upper boundary expression.

Returns
The upper boundary expression.
void te::fe::PropertyIsBetween::setExpression ( Expression e)

It sets the between expression.

Parameters
eThe between expression.
Note
It will take the ownership of the between expression.
void te::fe::PropertyIsBetween::setLowerBoundary ( Expression e)

It sets the lower boundary expression.

Parameters
eThe lower boundary expression.
Note
It will take the ownership of the lower boundary expression.
void te::fe::AbstractOp::setName ( const char *  opName)
inlineinherited

It sets the operator name.

Parameters
opNameThe operator name.

Definition at line 89 of file AbstractOp.h.

void te::fe::PropertyIsBetween::setUpperBoundary ( Expression e)

It sets the lower boundary expression.

Parameters
eThe upper boundary expression.
Note
It will take the ownership of the upper boundary expression.

Member Data Documentation

Expression* te::fe::PropertyIsBetween::m_expression
private

Mandatory.

Definition at line 124 of file PropertyIsBetween.h.

Expression* te::fe::PropertyIsBetween::m_lowerBoundary
private

Mandatory.

Definition at line 125 of file PropertyIsBetween.h.

const char* te::fe::AbstractOp::m_name
protectedinherited

Operator name.

Definition at line 120 of file AbstractOp.h.

Expression* te::fe::PropertyIsBetween::m_upperBoundary
private

Mandatory.

Definition at line 126 of file PropertyIsBetween.h.


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