philsupertramp/game-math
|
#include <Operand.h>
Public Member Functions | |
Operand (const std::string &name) | |
Public Member Functions inherited from MathNode | |
MathNode (const std::string &val) | |
MathNode (const MathNode &other) | |
virtual double | Evaluate () const =0 |
std::string | GetString () const |
bool | operator== (MathNode *rhs) |
Additional Inherited Members | |
Public Attributes inherited from MathNode | |
bool | isNegative = false |
helper to determine whether a node is negated or not More... | |
bool | hasParentheses = false |
helper to determine if node is within parentheses More... | |
MathNodeType | type |
node type representation More... | |
NodeConnectionType | connectionType = NodeConnectionType::ConnectionType_Dual |
type of connection allowed for this node More... | |
std::shared_ptr< MathNode > | left = nullptr |
next node on left side More... | |
std::shared_ptr< MathNode > | right = nullptr |
next node on right side More... | |
char * | value {} |
char representation of value More... | |
Protected Attributes inherited from MathNode | |
size_t | valSize = 0 |
helper to store size of value More... | |
Representation of operand can be numerical/symbolical
|
inlineexplicit |
default constructor
name |