Equal Class Reference

#include <parser.h>

Inheritance diagram for Equal:

Inheritance graph
[legend]
Collaboration diagram for Equal:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 Equal (Node *n1, Node *n2)
void print (std::ostream &o)
void checkSoundnessAndCalcul ()
bool containVar (int idvar)
void replace (int idvar, Node *n)
Nodeduplicate ()
bool isEqual (Node *n)

Public Attributes

Noden1
Noden2


Detailed Description

Definition at line 192 of file parser.h.


Constructor & Destructor Documentation

Equal::Equal ( Node n1,
Node n2 
)

Definition at line 473 of file parser.cpp.

Referenced by duplicate().


Member Function Documentation

void Equal::print ( std::ostream &  o  )  [virtual]

Reimplemented from Node.

Definition at line 224 of file parser.cpp.

References n1, n2, and Node::print().

Here is the call graph for this function:

void Equal::checkSoundnessAndCalcul (  )  [virtual]

Reimplemented from Node.

Definition at line 655 of file parser.cpp.

References Node::checkSoundnessAndCalcul(), n1, n2, Node::ndHole, Node::ndterms, and Node::rhoterm.

Here is the call graph for this function:

bool Equal::containVar ( int  idvar  )  [virtual]

the search for a variable

Reimplemented from Node.

Definition at line 873 of file parser.cpp.

References Node::containVar(), n1, and n2.

Here is the call graph for this function:

void Equal::replace ( int  idvar,
Node n 
) [virtual]

repalce a variable by a generic node

Reimplemented from Node.

Definition at line 926 of file parser.cpp.

References Node::duplicate(), n1, n2, and Node::replace().

Here is the call graph for this function:

Node * Equal::duplicate (  )  [virtual]

duplicate the node

Implements Node.

Definition at line 1031 of file parser.cpp.

References Node::duplicate(), Equal(), n1, and n2.

Here is the call graph for this function:

bool Equal::isEqual ( Node n  )  [virtual]

equality of structure

Reimplemented from Node.

Definition at line 1234 of file parser.cpp.

References Node::isEqual(), n1, and n2.

Here is the call graph for this function:


Member Data Documentation


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

Generated on Thu Jun 19 19:14:31 2008 for unification by  doxygen 1.5.6