Hormiga 1.0

OperatorNot Class Reference

#include <operand.h>

Inheritance diagram for OperatorNot:
Collaboration diagram for OperatorNot:

List of all members.

Public Member Functions

virtual T_STRING getSymbol () const
virtual T_MAGNITUDE getValue () const
 OperatorNot (Operand *op)

Static Protected Attributes

static T_STRING symbol = "NOT"

Detailed Description

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

Definition at line 211 of file operand.h.


Constructor & Destructor Documentation

OperatorNot::OperatorNot ( Operand op)

Definition at line 372 of file operand.cpp.


Member Function Documentation

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.

Here is the call graph for this function:


Member Data Documentation

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

OperatorNot

Definition at line 218 of file operand.h.


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