Hormiga 1.0

UnaryOperator Class Reference

#include <operand_interface.h>

Inheritance diagram for UnaryOperator:
Collaboration diagram for UnaryOperator:

List of all members.

Public Member Functions

virtual T_STRING getSymbol () const =0
virtual T_STRING toString () const
virtual bool isConstantExpresion () const
 UnaryOperator (Operand *op)
virtual ~UnaryOperator ()

Protected Attributes

Operandop1

Detailed Description

Definition at line 112 of file operand_interface.h.


Constructor & Destructor Documentation

UnaryOperator::UnaryOperator ( Operand op)

Definition at line 348 of file operand.cpp.

UnaryOperator::~UnaryOperator ( ) [virtual]

Definition at line 353 of file operand.cpp.

Here is the call graph for this function:


Member Function Documentation

virtual T_STRING UnaryOperator::getSymbol ( ) const [pure virtual]

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

Implements Operand.

Implemented in OperatorNot, OperatorNeg, and OperatorFactorial.

Here is the caller graph for this function:

bool UnaryOperator::isConstantExpresion ( ) const [virtual]

Return TRUE if this expresion is composed only by constants. Return FALSE if this expresion contains some variable or function call.

Implements Operand.

Definition at line 343 of file operand.cpp.

Here is the call graph for this function:

T_STRING UnaryOperator::toString ( ) const [virtual]

UnaryOperator

Implements Operand.

Definition at line 336 of file operand.cpp.

Here is the call graph for this function:


Member Data Documentation

Definition at line 121 of file operand_interface.h.


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