Hormiga 1.0

OperatorSub Class Reference

#include <operand.h>

Inheritance diagram for OperatorSub:
Collaboration diagram for OperatorSub:

List of all members.

Public Member Functions

virtual T_STRING getSymbol () const
virtual T_MAGNITUDE getValue () const
 OperatorSub (Operand *op1, Operand *op2)

Static Protected Attributes

static T_STRING symbol = "-"

Detailed Description

Definition at line 256 of file operand.h.


Constructor & Destructor Documentation

OperatorSub::OperatorSub ( Operand op1,
Operand op2 
)

Definition at line 474 of file operand.cpp.


Member Function Documentation

T_STRING OperatorSub::getSymbol ( ) const [virtual]

Return de Symbol that represent this object, it can be the name of a variable.

Implements BinaryOperator.

Definition at line 464 of file operand.cpp.

T_MAGNITUDE OperatorSub::getValue ( ) const [virtual]

Implements Operand.

Definition at line 469 of file operand.cpp.

Here is the call graph for this function:


Member Data Documentation

T_STRING OperatorSub::symbol = "-" [static, protected]

OperatorSub

Definition at line 263 of file operand.h.


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