Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

sym_bool_intcmp Class Reference

#include <symmath.h>

Inheritance diagram for sym_bool_intcmp:

sym_bool_token Object List of all members.

Public Member Functions

 sym_bool_intcmp (sym_int_token *int1, c_op cop, sym_int_token *int2)
virtual bool compare_eq (sym_bool_token *t)
virtual Objectduplicate ()
virtual bool evaluate (bool *i)
virtual int nstrfy (char *buf, int n)
virtual OBJECT_ID object_id () const
virtual void simplify ()

Public Attributes

sym_int_tokenint1
c_op cop
sym_int_tokenint2

Constructor & Destructor Documentation

sym_bool_intcmp::sym_bool_intcmp sym_int_token int1,
c_op  cop,
sym_int_token int2
 

Definition at line 773 of file symmath.cc.

References cop, int1, and int2.

Referenced by duplicate().


Member Function Documentation

bool sym_bool_intcmp::compare_eq sym_bool_token t  )  [virtual]
 

Implements sym_bool_token.

Definition at line 780 of file symmath.cc.

References sym_int_token::compare_eq(), cop, int1, and int2.

Object * sym_bool_intcmp::duplicate  )  [virtual]
 

Standard Object duplicator.

Returns:
copy of object

Reimplemented from Object.

Definition at line 787 of file symmath.cc.

References cop, Object::duplicate(), int1, int2, and sym_bool_intcmp().

bool sym_bool_intcmp::evaluate bool *  i  )  [virtual]
 

Reimplemented from sym_bool_token.

Definition at line 792 of file symmath.cc.

References c_eq, c_ge, c_gt, c_invalid, c_le, c_lt, c_ne, cop, sym_int_token::evaluate(), int1, int2, and UINT.

int sym_bool_intcmp::nstrfy char *  buf,
int  n
[virtual]
 

Implements sym_bool_token.

Definition at line 811 of file symmath.cc.

References buf, c_eq, c_ge, c_gt, c_invalid, c_le, c_lt, c_ne, cop, dword, sym_int_token::evaluate(), int1, int2, and sym_int_token::nstrfy().

OBJECT_ID sym_bool_intcmp::object_id  )  const [virtual]
 

Returns:
unique object id.

Reimplemented from Object.

Definition at line 846 of file symmath.cc.

References ATOM_SYM_BOOL_INTCMP.

void sym_bool_intcmp::simplify  )  [virtual]
 

Reimplemented from sym_bool_token.

Definition at line 851 of file symmath.cc.

References int1, int2, and sym_int_token::simplify().


Member Data Documentation

c_op sym_bool_intcmp::cop
 

Definition at line 211 of file symmath.h.

Referenced by compare_eq(), duplicate(), evaluate(), nstrfy(), and sym_bool_intcmp().

sym_int_token* sym_bool_intcmp::int1
 

Definition at line 210 of file symmath.h.

Referenced by compare_eq(), duplicate(), evaluate(), nstrfy(), simplify(), and sym_bool_intcmp().

sym_int_token* sym_bool_intcmp::int2
 

Definition at line 212 of file symmath.h.

Referenced by compare_eq(), duplicate(), evaluate(), nstrfy(), simplify(), and sym_bool_intcmp().


The documentation for this class was generated from the following files:
Generated on Fri May 7 21:16:10 2004 by doxygen 1.3.5