Polaris: PredicateElem Class Reference

PredicateElem Class Reference

#include <PredicateRepository.h>

List of all members.

Public Member Functions

 PredicateElem ()
 ~PredicateElem ()
PredicateElemoperator= (const PredicateElem &p)
void ins_AND (int operand, int result)
void ins_OR (int operand, int result)
void print (ostream &out) const

Public Attributes

Expression_condition
 The predicate expression itself.
Array< int > _AND_operand
 A list of Repository indices combined with this one in AND expr.
Array< int > _AND_result
 The index corresponding to the AND expr.
Array< int > _OR_operand
 A list of Repository indices combined with this one in OR expr.
Array< int > _OR_result
 The index corresponding to the OR expr.
int _and_used
 Elements used in the AND Arrays.
int _or_used
 Elements used in the OR Arrays.
int _not_equal
 The index corresponding to the transform_not_equal expr.
int _not
 The index corresponding to the .NOT. expr.

Friends

class PredicateRepository
ostream & operator<< (ostream &o, const PredicateElem &pe)


Constructor & Destructor Documentation

PredicateElem::PredicateElem  )  [inline]
 

Definition at line 52 of file PredicateRepository.h.

References _AND_operand, _AND_result, _and_used, _condition, _not, _not_equal, _OR_operand, _OR_result, _or_used, register_instance(), and Array< T >::resize().

PredicateElem::~PredicateElem  )  [inline]
 

< We own the expression

Definition at line 60 of file PredicateRepository.h.

References _condition, and unregister_instance().


Member Function Documentation

PredicateElem& PredicateElem::operator= const PredicateElem p  )  [inline]
 

Definition at line 68 of file PredicateRepository.h.

References _AND_operand, _AND_result, _and_used, _condition, _not, _not_equal, _OR_operand, _OR_result, _or_used, and Expression::clone().

void PredicateElem::ins_AND int  operand,
int  result
[inline]
 

Definition at line 83 of file PredicateRepository.h.

References Array< T >::entries(), and Array< T >::resize().

void PredicateElem::ins_OR int  operand,
int  result
[inline]
 

Definition at line 93 of file PredicateRepository.h.

References Array< T >::entries(), and Array< T >::resize().

void PredicateElem::print ostream &  out  )  const [inline]
 

Definition at line 108 of file PredicateRepository.h.

References _condition.


Friends And Related Function Documentation

friend class PredicateRepository [friend]
 

Definition at line 39 of file PredicateRepository.h.

ostream& operator<< ostream &  o,
const PredicateElem pe
[friend]
 

Definition at line 103 of file PredicateRepository.h.


Member Data Documentation

Expression* PredicateElem::_condition
 

The predicate expression itself.

Definition at line 42 of file PredicateRepository.h.

Referenced by operator=(), PredicateElem(), print(), and ~PredicateElem().

Array<int> PredicateElem::_AND_operand
 

A list of Repository indices combined with this one in AND expr.

Definition at line 43 of file PredicateRepository.h.

Referenced by operator=(), and PredicateElem().

Array<int> PredicateElem::_AND_result
 

The index corresponding to the AND expr.

Definition at line 44 of file PredicateRepository.h.

Referenced by operator=(), and PredicateElem().

Array<int> PredicateElem::_OR_operand
 

A list of Repository indices combined with this one in OR expr.

Definition at line 45 of file PredicateRepository.h.

Referenced by operator=(), and PredicateElem().

Array<int> PredicateElem::_OR_result
 

The index corresponding to the OR expr.

Definition at line 46 of file PredicateRepository.h.

Referenced by operator=(), and PredicateElem().

int PredicateElem::_and_used
 

Elements used in the AND Arrays.

Definition at line 47 of file PredicateRepository.h.

Referenced by operator=(), and PredicateElem().

int PredicateElem::_or_used
 

Elements used in the OR Arrays.

Definition at line 48 of file PredicateRepository.h.

Referenced by operator=(), and PredicateElem().

int PredicateElem::_not_equal
 

The index corresponding to the transform_not_equal expr.

Definition at line 49 of file PredicateRepository.h.

Referenced by operator=(), and PredicateElem().

int PredicateElem::_not
 

The index corresponding to the .NOT. expr.

Definition at line 50 of file PredicateRepository.h.

Referenced by operator=(), and PredicateElem().


The documentation for this class was generated from the following file:
 © 1995-2005 University of Illinois, Urbana-Champaign. All rights reserved.  Fri Mar 25 23:07:54 2005