OA::DataFlow::ExprDFSet Class Reference

#include <ExprDFSet.hpp>

Inheritance diagram for OA::DataFlow::ExprDFSet:
Inheritance graph
[legend]
Collaboration diagram for OA::DataFlow::ExprDFSet:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 ExprDFSet ()
 ExprDFSet (const ExprDFSet &other)
 ~ExprDFSet ()
OA_ptr< DataFlowSetclone ()
bool operator== (DataFlowSet &other) const
bool operator!= (DataFlowSet &other) const
bool operator< (DataFlowSet &other) const
bool operator= (DataFlowSet &other) const
ExprDFSetsetUnion (DataFlowSet &other)
ExprDFSetsetIntersect (DataFlowSet &other)
ExprDFSetsetDifference (ExprDFSet &other)
void dump (std::ostream &os)
void dump (std::ostream &os, OA_ptr< IRHandlesIRInterface > ir)
void insert (OA_ptr< ExprTree > h)
void remove (OA_ptr< ExprTree > h)
bool empty ()
 whether or not the set is empty
bool hasExprTree (OA_ptr< ExprTree > h)
 whether or not the set contains the given stmt

Protected Attributes

OA_ptr< ExprTreeSetmSetPtr

Friends

class ExprDFSetIterator

Detailed Description

Definition at line 26 of file ExprDFSet.hpp.


Constructor & Destructor Documentation

OA::DataFlow::ExprDFSet::ExprDFSet (  ) 

Definition at line 11 of file ExprDFSet.cpp.

References OA::DataFlow::debug, mSetPtr, and OA_DEBUG_CTRL_MACRO.

Referenced by clone().

OA::DataFlow::ExprDFSet::ExprDFSet ( const ExprDFSet other  ) 

Definition at line 18 of file ExprDFSet.cpp.

References mSetPtr.

OA::DataFlow::ExprDFSet::~ExprDFSet (  )  [inline]

Definition at line 30 of file ExprDFSet.hpp.


Member Function Documentation

OA_ptr< DataFlowSet > OA::DataFlow::ExprDFSet::clone (  )  [virtual]

Implements OA::DataFlow::DataFlowSet.

Definition at line 27 of file ExprDFSet.cpp.

References ExprDFSet().

Here is the call graph for this function:

void OA::DataFlow::ExprDFSet::dump ( std::ostream &  os,
OA_ptr< IRHandlesIRInterface ir 
) [virtual]

Implements OA::DataFlow::DataFlowSet.

Definition at line 143 of file ExprDFSet.cpp.

References mSetPtr.

void OA::DataFlow::ExprDFSet::dump ( std::ostream &  os  )  [virtual]

Implements OA::DataFlow::DataFlowSet.

Definition at line 131 of file ExprDFSet.cpp.

bool OA::DataFlow::ExprDFSet::empty (  ) 

whether or not the set is empty

Definition at line 172 of file ExprDFSet.cpp.

References mSetPtr.

bool OA::DataFlow::ExprDFSet::hasExprTree ( OA_ptr< ExprTree h  ) 

whether or not the set contains the given stmt

Definition at line 170 of file ExprDFSet.cpp.

References mSetPtr.

Referenced by insert().

void OA::DataFlow::ExprDFSet::insert ( OA_ptr< ExprTree h  ) 

Definition at line 157 of file ExprDFSet.cpp.

References hasExprTree(), and mSetPtr.

Here is the call graph for this function:

bool OA::DataFlow::ExprDFSet::operator!= ( DataFlowSet other  )  const

Definition at line 45 of file ExprDFSet.cpp.

References mSetPtr.

bool OA::DataFlow::ExprDFSet::operator< ( DataFlowSet other  )  const

Definition at line 53 of file ExprDFSet.cpp.

References mSetPtr.

bool OA::DataFlow::ExprDFSet::operator= ( DataFlowSet other  )  const

Definition at line 61 of file ExprDFSet.cpp.

bool OA::DataFlow::ExprDFSet::operator== ( DataFlowSet other  )  const

Definition at line 37 of file ExprDFSet.cpp.

References mSetPtr.

void OA::DataFlow::ExprDFSet::remove ( OA_ptr< ExprTree h  ) 

Definition at line 168 of file ExprDFSet.cpp.

References mSetPtr.

ExprDFSet & OA::DataFlow::ExprDFSet::setDifference ( ExprDFSet other  ) 

Definition at line 127 of file ExprDFSet.cpp.

ExprDFSet & OA::DataFlow::ExprDFSet::setIntersect ( DataFlowSet other  ) 

Definition at line 97 of file ExprDFSet.cpp.

References mSetPtr.

ExprDFSet & OA::DataFlow::ExprDFSet::setUnion ( DataFlowSet other  ) 

Definition at line 67 of file ExprDFSet.cpp.

References mSetPtr.


Friends And Related Function Documentation

friend class ExprDFSetIterator [friend]

Definition at line 67 of file ExprDFSet.hpp.


Member Data Documentation


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

Generated on Sat Oct 31 05:31:00 2009 for OpenAnalysis by  doxygen 1.6.1