|
Hormiga 1.0
|
#include <operand.h>


Public Member Functions | |
| virtual T_STRING | getSymbol () const |
| virtual T_MAGNITUDE | getValue () const |
| OperatorNot (Operand *op) | |
Static Protected Attributes | |
| static T_STRING | symbol = "NOT" |
Aritmetic and Boolean Operators
Each one have a 'static symbol' variable that keep the representable operator symbol used by 'toString()' method. 'static' attribute is used to keep memory usage lowest. Unary Operators
| OperatorNot::OperatorNot | ( | Operand * | op | ) |
Definition at line 372 of file operand.cpp.
| T_STRING OperatorNot::getSymbol | ( | ) | const [virtual] |
Return de Symbol that represent this object, it can be the name of a variable.
Implements UnaryOperator.
Definition at line 362 of file operand.cpp.
| T_MAGNITUDE OperatorNot::getValue | ( | ) | const [virtual] |
Implements Operand.
Definition at line 367 of file operand.cpp.

T_STRING OperatorNot::symbol = "NOT" [static, protected] |