te::fe::Not Class Referenceabstract

Boolean NOT operator. More...

#include <Not.h>

Inheritance diagram for te::fe::Not:
te::fe::UnaryLogicOp te::fe::LogicOp 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...
 
LogicOpclone () const
 It creates a new copy of this object. More...
 
Initializer Methods

Methods related to instantiation and destruction.

 Not (AbstractOp *arg)
 Constructor. More...
 
 ~Not ()
 Destructor. More...
 
Accessor methods

Methods used to get or set properties.

void setOp (AbstractOp *o)
 It sets the operand. More...
 
AbstractOpgetOp () const
 It returns the operand. 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...
 
AbstractOpm_op
 Mandatory. More...
 

Detailed Description

Boolean NOT operator.

See also
Function

Definition at line 44 of file Not.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

◆ Not()

te::fe::Not::Not ( AbstractOp arg)
inline

Constructor.

Parameters
argThe single function argument.
Note
The Not function will take the ownership of the given argument.

Definition at line 62 of file Not.h.

◆ ~Not()

te::fe::Not::~Not ( )
inline

Destructor.

Definition at line 65 of file Not.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()

LogicOp* te::fe::UnaryLogicOp::clone ( ) const
virtualinherited

It creates a new copy of this object.

Reimplemented from te::fe::LogicOp.

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

◆ getOp()

AbstractOp* te::fe::UnaryLogicOp::getOp ( ) const
inherited

It returns the operand.

Returns
The 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.

◆ setOp()

void te::fe::UnaryLogicOp::setOp ( AbstractOp o)
inherited

It sets the operand.

Parameters
oThe operand.
Note
It will take the ownership of the operand.

Member Data Documentation

◆ m_name

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

Operator name.

Definition at line 123 of file AbstractOp.h.

◆ m_op

AbstractOp* te::fe::UnaryLogicOp::m_op
protectedinherited

Mandatory.

Definition at line 111 of file UnaryLogicOp.h.


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