The division operator. More...
#include <Div.h>
  
Public Types | |
| typedef void | ReturnType | 
| typedef Visitor | VisitorType | 
Public Member Functions | |
| virtual ReturnType | accept (VisitorType &guest) const=0 | 
| It call the visit method from the guest object.  More... | |
Initializer Methods  | |
Methods related to instantiation and destruction.  | |
| Div (Expression *arg1, Expression *arg2) | |
| Constructor.  More... | |
| ~Div () | |
| Destructor.  More... | |
Accessor methods  | |
Methods used to get or set properties.  | |
| const char * | getName () const | 
| It returns the operator name.  More... | |
| void | setFirst (Expression *first) | 
| It sets the first operand.  More... | |
| Expression * | getFirst () const | 
| It returns the first operand.  More... | |
| void | setSecond (Expression *second) | 
| It sets the second operand.  More... | |
| Expression * | getSecond () const | 
| It returns the second operand.  More... | |
Expression Re-implementation | |
Methods re-implemented from Expression.  | |
| virtual Expression * | clone () const | 
| It returns a clone of this object.  More... | |
| const char * | m_opName | 
| The operator name. (Mandatory)  More... | |
| Expression * | m_first | 
| First operand (an expression). (Mandatory)  More... | |
| Expression * | m_second | 
| Second operand (an expression). (Mandatory)  More... | |
      
  | 
  inherited | 
Definition at line 58 of file BaseVisitable.h.
      
  | 
  inherited | 
Definition at line 57 of file BaseVisitable.h.
      
  | 
  inline | 
      
  | 
  pure virtualinherited | 
It call the visit method from the guest object.
| guest | The guest or visitor. | 
      
  | 
  virtualinherited | 
      
  | 
  inherited | 
It returns the first operand.
      
  | 
  inlineinherited | 
It returns the operator name.
Definition at line 114 of file BinaryOperator.h.
      
  | 
  inherited | 
It returns the second operand.
      
  | 
  inherited | 
It sets the first operand.
| first | The first operand. | 
      
  | 
  inherited | 
It sets the second operand.
| second | The second operand. | 
      
  | 
  privateinherited | 
First operand (an expression). (Mandatory)
Definition at line 162 of file BinaryOperator.h.
      
  | 
  privateinherited | 
The operator name. (Mandatory)
Definition at line 161 of file BinaryOperator.h.
      
  | 
  privateinherited | 
Second operand (an expression). (Mandatory)
Definition at line 163 of file BinaryOperator.h.