#include <binop.hh>
Public Member Functions | |
| BinOp (const char *name, const char *namevec, const char *namescal, comp f, pred ln, pred rn, int priority) | |
| Node | compute (const Node &a, const Node &b) |
| bool | isRightNeutral (const Node &a) |
| bool | isLeftNeutral (const Node &a) |
Public Attributes | |
| const char * | fName |
| const char * | fNameVec |
| const char * | fNameScal |
| comp | fCompute |
| pred | fLeftNeutral |
| pred | fRightNeutral |
| int | fPriority |
Definition at line 32 of file binop.hh.
| BinOp::BinOp | ( | const char * | name, | |
| const char * | namevec, | |||
| const char * | namescal, | |||
| comp | f, | |||
| pred | ln, | |||
| pred | rn, | |||
| int | priority | |||
| ) | [inline] |
Definition at line 42 of file binop.hh.
00043 : fName(name), fNameVec(namevec), fNameScal(namescal), fCompute(f), fLeftNeutral(ln), fRightNeutral(rn), fPriority(priority) { }
Definition at line 45 of file binop.hh.
References fCompute.
Referenced by simplification().
00045 { return fCompute(a,b); }
| bool BinOp::isLeftNeutral | ( | const Node & | a | ) | [inline] |
Definition at line 48 of file binop.hh.
References fLeftNeutral.
Referenced by simplification().
00048 { return fLeftNeutral(a); }
| bool BinOp::isRightNeutral | ( | const Node & | a | ) | [inline] |
Definition at line 47 of file binop.hh.
References fRightNeutral.
Referenced by simplification().
00047 { return fRightNeutral(a); }
Definition at line 38 of file binop.hh.
Referenced by isLeftNeutral().
| const char* BinOp::fName |
Definition at line 34 of file binop.hh.
Referenced by DocCompiler::generateBinOp().
| const char* BinOp::fNameScal |
| const char* BinOp::fNameVec |
| int BinOp::fPriority |
Definition at line 40 of file binop.hh.
Referenced by DocCompiler::generateBinOp().
Definition at line 39 of file binop.hh.
Referenced by isRightNeutral().
1.6.3