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

#include <gateExpression.h>

Inheritance diagram for ExpressionUnOpCst:
ExpressionBase

Public Member Functions

 ExpressionUnOpCst (ExpressionBase *expr, int val, expr::ExpressionUnOperatorCst op)
 
virtual ~ExpressionUnOpCst ()
 
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

ExpressionBaseexpr
 
int val
 Constant associated. More...
 
expr::ExpressionUnOperatorCst 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

Unary operator with constant (ExprUnOpCst)

Constructor & Destructor Documentation

◆ ExpressionUnOpCst()

ExpressionUnOpCst::ExpressionUnOpCst ( ExpressionBase expr,
int  val,
expr::ExpressionUnOperatorCst  op 
)
inline

◆ ~ExpressionUnOpCst()

virtual ExpressionUnOpCst::~ExpressionUnOpCst ( )
inlinevirtual

Member Function Documentation

◆ sign()

sign_t ExpressionUnOpCst::sign ( ) const
virtual

Compute a signature for this expression

Implements ExpressionBase.

Member Data Documentation

◆ expr

ExpressionBase* ExpressionUnOpCst::expr

◆ op

expr::ExpressionUnOperatorCst ExpressionUnOpCst::op

Operator.

◆ val

int ExpressionUnOpCst::val

Constant associated.


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