9#include <framework/utilities/AbstractNodes.h>
20 case BooleanOperator::AND:
23 case BooleanOperator::OR:
27 throw std::runtime_error(
"Invalid BooleanOperator provided to injectBooleanOperatorToStream.");
34 case ComparisonOperator::EQUALEQUAL:
37 case ComparisonOperator::GREATEREQUAL:
40 case ComparisonOperator::LESSEQUAL:
43 case ComparisonOperator::GREATER:
46 case ComparisonOperator::LESS:
49 case ComparisonOperator::NOTEQUAL:
53 throw std::runtime_error(
"Invalid ComparisonOperator provided to injectComparisonOperatorToStream.");
60 case ArithmeticOperation::PLUS:
63 case ArithmeticOperation::MINUS:
66 case ArithmeticOperation::PRODUCT:
69 case ArithmeticOperation::DIVISION:
72 case ArithmeticOperation::POWER:
76 throw std::runtime_error(
"Invalid ArithmeticOperator provided to injectArithmeticOperatorToStream.");
void injectArithmeticOperatorToStream(std::ostream &stream, const ArithmeticOperation &aoperation)
Helper functions for AbstractBooleanNode and AbstractExpressionNode print() and decompile() members S...
void injectComparisonOperatorToStream(std::ostream &stream, const ComparisonOperator &coperator)
Helper functions for AbstractBooleanNode and AbstractExpressionNode print() and decompile() members S...
void injectBooleanOperatorToStream(std::ostream &stream, const BooleanOperator &boperator)
Helper functions for AbstractBooleanNode and AbstractExpressionNode print() and decompile() members S...
ComparisonOperator
Enum for decoding the comparison operator type.
BooleanOperator
Enum for decoding the boolean operator type.
ArithmeticOperation
Enum for decoding the comparison operator type.
Abstract base class for different kinds of events.