isomatch
Public Member Functions | Public Attributes | List of all members
ExpressionBinOp Struct Reference

#include <gateExpression.h>

Inheritance diagram for ExpressionBinOp:
ExpressionBase

Public Member Functions

 ExpressionBinOp (ExpressionBase *left, ExpressionBase *right, expr::ExpressionBinOperator op)
 
virtual ~ExpressionBinOp ()
 
virtual sign_t sign () const
 
- Public Member Functions inherited from ExpressionBase
 ExpressionBase (const expr::ExpressionType &type)
 
virtual ~ExpressionBase ()
 
bool equals (const ExpressionBase &oth) const
 
void addRef ()
 The object is referenced somewhere. More...
 
void deleteSelf ()
 Call this instead of delete More...
 

Public Attributes

ExpressionBaseleft
 
ExpressionBaseright
 
expr::ExpressionBinOperator op
 Operator. More...
 
- Public Attributes inherited from ExpressionBase
expr::ExpressionType type
 Type of the expression (used for casts) More...
 

Additional Inherited Members

- Protected Attributes inherited from ExpressionBase
int refcount
 

Detailed Description

Binary operator expression (ExprBinOp)

Constructor & Destructor Documentation

◆ ExpressionBinOp()

ExpressionBinOp::ExpressionBinOp ( ExpressionBase left,
ExpressionBase right,
expr::ExpressionBinOperator  op 
)
inline

◆ ~ExpressionBinOp()

virtual ExpressionBinOp::~ExpressionBinOp ( )
inlinevirtual

Member Function Documentation

◆ sign()

sign_t ExpressionBinOp::sign ( ) const
virtual

Compute a signature for this expression

Implements ExpressionBase.

Member Data Documentation

◆ left

ExpressionBase* ExpressionBinOp::left

◆ op

expr::ExpressionBinOperator ExpressionBinOp::op

Operator.

◆ right

ExpressionBase * ExpressionBinOp::right

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