jscicalc.pobject.BoolFunction Class Reference

Boolean functions have lower priority than plus/minus or multiplication/division and are handled by this class. More...

Inheritance diagram for jscicalc.pobject.BoolFunction:

jscicalc.pobject.PObject jscicalc.GObject jscicalc.pobject.And jscicalc.pobject.Or jscicalc.pobject.Xor
Collaboration diagram for jscicalc.pobject.BoolFunction:

Collaboration graph
[legend]

List of all members.

Public Member Functions

abstract double function (double x, double y)
 Carry out a boolean operation like x AND y.
abstract OObject function (OObject x, OObject y)
 Carry out a boolean operation like x AND y.


Detailed Description

Boolean functions have lower priority than plus/minus or multiplication/division and are handled by this class.

See also:
AFunction

MFunction

Author:
J. D. Lamb
Version:
Revision
1.4

Member Function Documentation

abstract double jscicalc.pobject.BoolFunction.function ( double  x,
double  y 
) [pure virtual]

Carry out a boolean operation like x AND y.

Parameters:
x The first value (left of symbol)
y The second value (left of symbol)
Returns:
The result of the operation

Implemented in jscicalc.pobject.And, jscicalc.pobject.Or, and jscicalc.pobject.Xor.

Referenced by jscicalc.Parser.convertBoolFunctions().

abstract OObject jscicalc.pobject.BoolFunction.function ( OObject  x,
OObject  y 
) [pure virtual]

Carry out a boolean operation like x AND y.

Parameters:
x The first value (left of symbol)
y The second value (left of symbol)
Returns:
The result of the operation

Implemented in jscicalc.pobject.And, jscicalc.pobject.Or, and jscicalc.pobject.Xor.


The documentation for this class was generated from the following file:

Generated on Sun Jun 1 08:58:19 2008 for Java Scientific Calculator by  doxygen 1.5.5