@root classes

class TreeCleaner

^ 
    extends TreeCrawler as public

TreeCleaner Class TreeCleaner traverses a tree and simplifies the expression to a more readable form by reducing expressions with 1's and 0's.

It then returns this cleaned version of the tree to the parser. This class will eventually become a child class of treecrawlers.h

Source:
treecrawlers.h:54
Author:
ag20@duke.edu jhc7@duke.edu
Version:
unknown

Contents

^ 
EntityInherited FromTypeScopeShort Description
~TreeCleanerdestructor public destructor
TreeCleanerconstructor publicmakes an empty treecleaner
TreeCleanerconstructor publicautomatically generated
CleanTreemethod publiccleans the root node
descriptionmethod public returns description of the class
operator =operator publicautomatically generated
traverseTreemethod public calls clean tree to traverse and clean the tree

destructor ~TreeCleaner

? ^  > 
destructor
Source:
treecrawlers.h:65
Code:
public ~ TreeCleaner ( )

constructor TreeCleaner

? ^  < > 
makes an empty treecleaner
Source:
treecrawlers.h:60
Code:
public TreeCleaner ( )

constructor TreeCleaner

? ^  < > 
automatically generated
Source:
treecrawlers.h
Code:
public TreeCleaner ( const TreeCleaner & )

method CleanTree

? ^  < > 
cleans the root node
Source:
treecrawlers.h:199
Code:
public Node * CleanTree ( Node * root )

method description

? ^  < > 
returns description of the class
Source:
treecrawlers.h:215
Code:
public virtual string description ( )

operator =

? ^  < > 
automatically generated
Source:
treecrawlers.h
Code:
public TreeCleaner & operator = ( const TreeCleaner & )

method traverseTree

? ^  < > 
calls clean tree to traverse and clean the tree
Source:
treecrawlers.h:207
Code:
public virtual Node * traverseTree ( Node * root ,
string arg )

Created Sun Oct 6 20:57:01 2002.
This documentation was generated automatically by
ccdoc v0.8 r26 2001/11/28 bin_opt_suncc_solaris-2.8.
Click here to submit a bug report or feature request.
Click here to return to the top of the page.