Main Page | Class Hierarchy | Alphabetical List | Data Structures | File List | Data Fields | Globals

If Class Reference

If statement. More...

#include <stree.h>

Inheritance diagram for If:

Ternary List Node

Public Member Functions

 If (Node *statement1, Node *statement2, Node *statement3)
 Constructor.

virtual ostream & php (ostream &os) const
 Writes node to the stream as php.

virtual Nodecopy () const
 Copies the node.


Detailed Description

If statement.

The meaning of arguments is as follows:

Definition at line 254 of file stree.h.


Constructor & Destructor Documentation

If::If Node statement1,
Node statement2,
Node statement3
 

Constructor.

Definition at line 260 of file stree.cpp.

References CIf.

Referenced by copy().


Member Function Documentation

Node * If::copy  )  const [virtual]
 

Copies the node.

Reimplemented from Ternary.

Definition at line 269 of file stree.cpp.

References Ternary::getStatement1(), Ternary::getStatement2(), Ternary::getStatement3(), and If().

ostream & If::php ostream &  os  )  const [virtual]
 

Writes node to the stream as php.

Reimplemented from Ternary.

Definition at line 263 of file stree.cpp.

References Ternary::getStatement1(), Ternary::getStatement2(), Ternary::getStatement3(), Node::getType(), and SPin.


The documentation for this class was generated from the following files:
Generated on Fri Nov 21 17:54:07 2003 for PHPX by doxygen 1.3.3