BinaryOpTreeNode is a derived node of TreeNodeBase, which handles the binary calc.
More...
#include <BinaryOpTreeNode.h>
BinaryOpTreeNode is a derived node of TreeNodeBase, which handles the binary calc.
◆ BinaryOpTreeNode()
Construct a new Binary Op Tree Node object.
- Parameters
-
op | operations char |
left_hand | left expression |
right_hand | right expression |
◆ evaluate()
double BinaryOpTreeNode::evaluate |
( |
| ) |
const |
|
overridevirtual |
evaluate the expressions
- Returns
- double
Implements TreeNodeBase.
The documentation for this struct was generated from the following files:
- builtin/app/Caculator/core/BinaryOpTreeNode.h
- builtin/app/Caculator/core/BinaryOpTreeNode.cpp