Or Class Reference

#include <parser.h>

Inheritance diagram for Or:

Inheritance graph
[legend]
Collaboration diagram for Or:

Collaboration graph
[legend]

List of all members.

Public Member Functions

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

Public Attributes

list< Node * > branchs


Detailed Description

Definition at line 103 of file parser.h.


Constructor & Destructor Documentation

Or::Or (  ) 

Definition at line 419 of file parser.cpp.

Referenced by duplicate().


Member Function Documentation

void Or::addBranch ( Node n  ) 

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

Reimplemented from Node.

Definition at line 312 of file parser.cpp.

References branchs, globconfig, Configuration::LATEX, and Configuration::writeMode.

void Or::checkSoundnessAndCalcul (  )  [virtual]

Reimplemented from Node.

Definition at line 603 of file parser.cpp.

References branchs, Node::ndHole, Node::ndterms, and Node::rhoterm.

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

the search for a variable

Reimplemented from Node.

Definition at line 861 of file parser.cpp.

References branchs.

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

repalce a variable by a generic node

Reimplemented from Node.

Definition at line 902 of file parser.cpp.

References branchs, Node::duplicate(), and Node::replace().

Here is the call graph for this function:

Node * Or::duplicate (  )  [virtual]

duplicate the node

Implements Node.

Definition at line 1007 of file parser.cpp.

References addBranch(), branchs, and Or().

Here is the call graph for this function:

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

equality of structure

Reimplemented from Node.

Definition at line 1189 of file parser.cpp.

References branchs.


Member Data Documentation

list<Node*> Or::branchs


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

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