Variable Class Reference

#include <parser.h>

Inheritance diagram for Variable:

Inheritance graph
[legend]
Collaboration diagram for Variable:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 Variable (const char *name, Parser *parser)
void print (std::ostream &o)
void checkSoundnessAndCalcul ()
bool containVar (int idvar)
Nodeduplicate ()
bool isEqual (Node *n)

Public Attributes

int id

Private Attributes

Parserparser


Detailed Description

Definition at line 69 of file parser.h.


Constructor & Destructor Documentation

Variable::Variable ( const char *  name,
Parser parser 
)

Definition at line 480 of file parser.cpp.

References Parser::variabletab.

Referenced by duplicate().


Member Function Documentation

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

Reimplemented from Node.

Definition at line 231 of file parser.cpp.

References id, parser, and Parser::variabletab.

void Variable::checkSoundnessAndCalcul (  )  [virtual]

Reimplemented from Node.

Definition at line 648 of file parser.cpp.

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

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

the search for a variable

Reimplemented from Node.

Definition at line 832 of file parser.cpp.

Node * Variable::duplicate (  )  [virtual]

duplicate the node

Implements Node.

Definition at line 990 of file parser.cpp.

References Variable().

Here is the call graph for this function:

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

equality of structure

Reimplemented from Node.

Definition at line 1161 of file parser.cpp.


Member Data Documentation

Definition at line 71 of file parser.h.

Referenced by print().


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

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