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

Nullary Class Reference

A node without childrens. More...

#include <streenamedlist.h>

Inheritance diagram for Nullary:

List Node EmptyStatement

Public Member Functions

 Nullary (string name)
 Creates Nullary element with given name.

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

virtual Nodecopy () const
 Copies the node.


Detailed Description

A node without childrens.

Definition at line 17 of file streenamedlist.h.


Constructor & Destructor Documentation

Nullary::Nullary string  name  ) 
 

Creates Nullary element with given name.

Definition at line 8 of file streenamedlist.cpp.

Referenced by copy().


Member Function Documentation

Node * Nullary::copy  )  const [virtual]
 

Copies the node.

Reimplemented from List.

Reimplemented in EmptyStatement.

Definition at line 15 of file streenamedlist.cpp.

References List::getName(), and Nullary().

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

Writes node to the stream as php.

Reimplemented from List.

Reimplemented in EmptyStatement.

Definition at line 10 of file streenamedlist.cpp.

References List::getName().


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