@root classes

class Sum

^ 
    extends { MultiArgFunction, MultiArgFunction } as public

the Sum class calculates the sum of all of the arguments when it is evaulated
Source:
arithnodes.h:423
Author:
jhc7duke.edu
Version:
unknown

Contents

^ 
EntityInherited FromTypeScopeShort Description
~Sumdestructor publicautomatically generated
Sumconstructor publicundocumented
Sumconstructor publicautomatically generated
copymethod public returns a pointer to a new copy of itself
descriptionmethod public return the description of the Node
evaluatemethod public evaluate the sum of the arguments
operator =operator publicautomatically generated

destructor ~Sum

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

constructor Sum

? ^  < > 
undocumented
Source:
arithnodes.h:428
Code:
public Sum ( vector < Node * > args ) : MultiArgFunction ( args )

constructor Sum

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

method copy

? ^  < > 
returns a pointer to a new copy of itself
Source:
arithnodes.h:449
Code:
public virtual Node * copy ( ) const

method description

? ^  < > 
return the description of the Node
Source:
arithnodes.h:457
Code:
public virtual string description ( ) const

method evaluate

? ^  < > 
evaluate the sum of the arguments
Source:
arithnodes.h:441
Code:
public virtual dataType evaluate ( ) const

operator =

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

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.