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

sym_bool Class Reference

#include <symmath.h>

Inheritance diagram for sym_bool:

sym_bool_token Object List of all members.

Public Member Functions

 sym_bool ()
 ~sym_bool ()
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 ()
void l_operate (l_op l, sym_bool_token *t)
void set (sym_bool_token *t)
void n_operate (n_op n)

Protected Member Functions

void clear ()

Protected Attributes

ht_listtokens

Constructor & Destructor Documentation

sym_bool::sym_bool  ) 
 

Definition at line 911 of file symmath.cc.

References tokens.

Referenced by duplicate().

sym_bool::~sym_bool  ) 
 

Definition at line 917 of file symmath.cc.

References ht_list::destroy(), and tokens.


Member Function Documentation

void sym_bool::clear  )  [protected]
 

Definition at line 936 of file symmath.cc.

References ht_list::destroy(), and tokens.

Referenced by set().

bool sym_bool::compare_eq sym_bool_token t  )  [virtual]
 

Implements sym_bool_token.

Definition at line 923 of file symmath.cc.

Object * sym_bool::duplicate  )  [virtual]
 

Standard Object duplicator.

Returns:
copy of object

Reimplemented from Object.

Definition at line 929 of file symmath.cc.

References Object::duplicate(), sym_bool(), and tokens.

Referenced by srt_x86_flags_carry().

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

Reimplemented from sym_bool_token.

Definition at line 945 of file symmath.cc.

References ht_list::count(), sym_bool_token::evaluate(), ht_list::get(), l_and, l_eq, l_ge, l_gt, l_invalid, l_le, l_lt, l_ne, l_or, sym_bool_token_rec::lop, n_not, n_null, sym_bool_token_rec::nop, sym_bool_token_rec::token, and tokens.

void sym_bool::l_operate l_op  l,
sym_bool_token t
 

Definition at line 974 of file symmath.cc.

References ht_list::insert(), n_null, and tokens.

void sym_bool::n_operate n_op  n  ) 
 

Definition at line 1005 of file symmath.cc.

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

Implements sym_bool_token.

Definition at line 979 of file symmath.cc.

References buf, ht_list::count(), ht_list::get(), sym_bool_token_rec::nstrfy(), and tokens.

OBJECT_ID sym_bool::object_id  )  const [virtual]
 

Returns:
unique object id.

Reimplemented from Object.

Definition at line 1009 of file symmath.cc.

References ATOM_SYM_BOOL.

void sym_bool::set sym_bool_token t  ) 
 

Definition at line 990 of file symmath.cc.

References clear(), ht_list::insert(), l_invalid, n_null, and tokens.

Referenced by create_cpu(), srt_x86_add(), srt_x86_cmp(), srt_x86_flags_carry(), srt_x86_flags_std(), and srt_x86_sub().

void sym_bool::simplify  )  [virtual]
 

Reimplemented from sym_bool_token.

Definition at line 996 of file symmath.cc.

References ht_list::count(), ht_list::get(), sym_bool_token::simplify(), sym_bool_token_rec::token, and tokens.


Member Data Documentation

ht_list* sym_bool::tokens [protected]
 

Definition at line 230 of file symmath.h.

Referenced by clear(), duplicate(), evaluate(), l_operate(), nstrfy(), set(), simplify(), sym_bool(), and ~sym_bool().


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