@root classes

class Printer

^ 
    extends { UnaryFunction, UnaryFunction } as public

Traverses a tree and prints it when evaluate is called.

will return NaN when evaluated, so that its output is suppressed in main. can also be called by.. print(expresssion) Left for future adaptations of this program, but unnecessary for this version of the program

Source:
arithnodes.h:374
Author:
unascribed
Version:
unknown

Contents

^ 
EntityInherited FromTypeScopeShort Description
~Printerdestructor publicautomatically generated
Printerconstructor publicundocumented
Printerconstructor publicautomatically generated
copymethod public copy this node
descriptionmethod public returns description of node
evaluatemethod public print the tree and return NaN
operator =operator publicautomatically generated
printToStringmethod public print the number

destructor ~Printer

? ^  > 
automatically generated
Source:
arithnodes.h
Code:
public ~ Printer ( )

constructor Printer

? ^  < > 
undocumented
Source:
arithnodes.h:380
Code:
public Printer ( Node * rhs ) : UnaryFunction ( rhs )

constructor Printer

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

method copy

? ^  < > 
copy this node
Source:
arithnodes.h:405
Code:
public virtual Node * copy ( ) const

method description

? ^  < > 
returns description of node
Source:
arithnodes.h:413
Code:
public virtual string description ( ) const

method evaluate

? ^  < > 
print the tree and return NaN
Source:
arithnodes.h:389
Code:
public virtual dataType evaluate ( ) const

operator =

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

method printToString

? ^  < > 
print the number
Source:
arithnodes.h:397
Code:
public virtual string printToString ( ) const

Created Sun Oct 6 20:56:56 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.