te::fe::PropertyIsLessThan Class Referenceabstract

It models the inequality operator less than (<). More...

#include <PropertyIsLessThan.h>

Inheritance diagram for te::fe::PropertyIsLessThan:
te::fe::BinaryComparisonOp 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.

 PropertyIsLessThan (Expression *arg1, Expression *arg2)
 Constructor. More...
 
 ~PropertyIsLessThan ()
 Destructor. More...
 
Accessor methods

Methods used to get or set properties.

void setFirst (Expression *first)
 It sets the first operand. More...
 
ExpressiongetFirst () const
 It returns the first operand. More...
 
void setSecond (Expression *second)
 It sets the second operand. More...
 
ExpressiongetSecond () const
 It returns the second operand. More...
 
void enableMatchCase ()
 It enables the match case flag. So comparisons will be case sensitive. More...
 
void disableMatchCase ()
 It disables the match case flag. So comparisons will not be case sensitive. More...
 
ComparisonOpclone () const
 It creates a new copy of this object. 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

Expressionm_first
 first operand (mandatory). More...
 
bool m_matchCase
 Optional (default: true). More...
 
const char * m_name
 Operator name. More...
 
Expressionm_second
 second operand (mandatory). More...
 

Detailed Description

It models the inequality operator less than (<).

See also
BinaryComparisonOp

Definition at line 46 of file PropertyIsLessThan.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

◆ PropertyIsLessThan()

te::fe::PropertyIsLessThan::PropertyIsLessThan ( Expression arg1,
Expression arg2 
)
inline

Constructor.

Parameters
arg1The first argument.
arg2The second argument.
Note
The PropertyIsLessThan operator will take the ownership of the given arguments.

Definition at line 65 of file PropertyIsLessThan.h.

◆ ~PropertyIsLessThan()

te::fe::PropertyIsLessThan::~PropertyIsLessThan ( )
inline

Destructor.

Definition at line 68 of file PropertyIsLessThan.h.

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::BinaryComparisonOp::clone ( ) const
virtualinherited

It creates a new copy of this object.

Implements te::fe::AbstractOp.

◆ disableMatchCase()

void te::fe::BinaryComparisonOp::disableMatchCase ( )
inherited

It disables the match case flag. So comparisons will not be case sensitive.

◆ enableMatchCase()

void te::fe::BinaryComparisonOp::enableMatchCase ( )
inherited

It enables the match case flag. So comparisons will be case sensitive.

Note
This is the default state.

◆ getFirst()

Expression* te::fe::BinaryComparisonOp::getFirst ( ) const
inherited

It returns the first operand.

Returns
The first operand.

◆ 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.

◆ getSecond()

Expression* te::fe::BinaryComparisonOp::getSecond ( ) const
inherited

It returns the second operand.

Returns
The second operand.

◆ setFirst()

void te::fe::BinaryComparisonOp::setFirst ( Expression first)
inherited

It sets the first operand.

Parameters
firstThe first operand.
Note
It will take the ownership of the first operand.

◆ 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.

◆ setSecond()

void te::fe::BinaryComparisonOp::setSecond ( Expression second)
inherited

It sets the second operand.

Parameters
secondThe second operand.
Note
It will take the ownership of the second operand.

Member Data Documentation

◆ m_first

Expression* te::fe::BinaryComparisonOp::m_first
protectedinherited

first operand (mandatory).

Definition at line 159 of file BinaryComparisonOp.h.

◆ m_matchCase

bool te::fe::BinaryComparisonOp::m_matchCase
protectedinherited

Optional (default: true).

Definition at line 161 of file BinaryComparisonOp.h.

◆ m_name

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

Operator name.

Definition at line 123 of file AbstractOp.h.

◆ m_second

Expression* te::fe::BinaryComparisonOp::m_second
protectedinherited

second operand (mandatory).

Definition at line 160 of file BinaryComparisonOp.h.


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