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...
 
ComparisonOpclone () const
 It creates a new copy of this 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

◆ ReturnType

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

Definition at line 58 of file BaseVisitable.h.

◆ VisitorType

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

Definition at line 57 of file BaseVisitable.h.

Constructor & Destructor Documentation

◆ PropertyIsBetween()

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

It initializes a new PropertyIsBetween.

◆ ~PropertyIsBetween()

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

Destructor.

Member Function Documentation

◆ accept()

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.

◆ clone()

ComparisonOp* te::fe::PropertyIsBetween::clone ( ) const
virtual

It creates a new copy of this object.

Reimplemented from te::fe::ComparisonOp.

◆ getExpression()

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

It returns the between expression.

Returns
The between expression.

◆ getLowerBoundary()

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

It returns the lower boundary expression.

Returns
The lower boundary expression.

◆ getName()

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.

◆ getUpperBoundary()

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

It returns the upper boundary expression.

Returns
The upper boundary expression.

◆ setExpression()

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.

◆ setLowerBoundary()

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.

◆ setName()

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.

◆ setUpperBoundary()

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

◆ m_expression

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

Mandatory.

Definition at line 127 of file PropertyIsBetween.h.

◆ m_lowerBoundary

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

Mandatory.

Definition at line 128 of file PropertyIsBetween.h.

◆ m_name

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

Operator name.

Definition at line 123 of file AbstractOp.h.

◆ m_upperBoundary

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

Mandatory.

Definition at line 129 of file PropertyIsBetween.h.


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