StatementSet Class Reference

#include <include/managed.h>

List of all members.


Detailed Description

Definition at line 45 of file managed.h.

Public Types

typedef std::set< Statement
* >::iterator 
iterator

Public Member Functions

iterator begin ()
void clear ()
bool definesLoc (Exp *loc)
void dump ()
iterator end ()
bool exists (Statement *s)
void insert (Statement *s)
bool isSubSetOf (StatementSet &other)
void makeDiff (StatementSet &other)
void makeIsect (StatementSet &other)
void makeUnion (StatementSet &other)
bool operator< (const StatementSet &o) const
bool operator== (const StatementSet &o) const
void print (std::ostream &os)
void printNums (std::ostream &os)
char * prints ()
bool remove (Statement *s)
bool removeIfDefines (StatementSet &given)
bool removeIfDefines (Exp *given)
unsigned size ()
 ~StatementSet ()

Private Attributes

std::set< Statement * > sset


Member Typedef Documentation

typedef std::set<Statement*>::iterator StatementSet::iterator
 

Definition at line 49 of file managed.h.


Constructor & Destructor Documentation

StatementSet::~StatementSet  )  [inline]
 

Definition at line 51 of file managed.h.


Member Function Documentation

iterator StatementSet::begin  )  [inline]
 

Definition at line 58 of file managed.h.

References sset.

Referenced by StatementList::append(), BasicBlock::decodeIndirectJmp(), LocationSet::removeIfDefines(), and Signature::usesNewParam().

void StatementSet::clear  )  [inline]
 

Definition at line 68 of file managed.h.

References sset.

bool StatementSet::definesLoc Exp loc  ) 
 

Definition at line 112 of file managed.cpp.

References sset.

void StatementSet::dump  ) 
 

Definition at line 134 of file managed.cpp.

References print().

iterator StatementSet::end  )  [inline]
 

Definition at line 59 of file managed.h.

References sset.

Referenced by StatementList::append(), LocationSet::removeIfDefines(), and Signature::usesNewParam().

bool StatementSet::exists Statement s  ) 
 

Definition at line 106 of file managed.cpp.

References sset.

Referenced by BasicBlock::decodeIndirectJmp().

void StatementSet::insert Statement s  )  [inline]
 

Definition at line 61 of file managed.h.

References sset.

Referenced by BasicBlock::decodeIndirectJmp().

bool StatementSet::isSubSetOf StatementSet other  ) 
 

Definition at line 85 of file managed.cpp.

References sset.

void StatementSet::makeDiff StatementSet other  ) 
 

Definition at line 64 of file managed.cpp.

References sset.

void StatementSet::makeIsect StatementSet other  ) 
 

Definition at line 73 of file managed.cpp.

References sset.

void StatementSet::makeUnion StatementSet other  ) 
 

Definition at line 56 of file managed.cpp.

References sset.

bool StatementSet::operator< const StatementSet o  )  const
 

Definition at line 160 of file managed.cpp.

References sset.

bool StatementSet::operator== const StatementSet o  )  const [inline]
 

Definition at line 69 of file managed.h.

References sset.

void StatementSet::print std::ostream &  os  ) 
 

Definition at line 138 of file managed.cpp.

References sset.

Referenced by dump(), and operator<<().

void StatementSet::printNums std::ostream &  os  ) 
 

Definition at line 148 of file managed.cpp.

References sset.

char * StatementSet::prints  ) 
 

Definition at line 121 of file managed.cpp.

References sset.

bool StatementSet::remove Statement s  ) 
 

Definition at line 97 of file managed.cpp.

References sset.

Referenced by BasicBlock::decodeIndirectJmp().

bool StatementSet::removeIfDefines StatementSet given  ) 
 

bool StatementSet::removeIfDefines Exp given  ) 
 

unsigned StatementSet::size  )  [inline]
 

Definition at line 57 of file managed.h.

References sset.


Member Data Documentation

std::set<Statement*> StatementSet::sset [private]
 

Definition at line 46 of file managed.h.

Referenced by begin(), clear(), definesLoc(), end(), exists(), insert(), isSubSetOf(), makeDiff(), makeIsect(), makeUnion(), operator<(), operator==(), print(), printNums(), prints(), remove(), and size().


The documentation for this class was generated from the following files:
Generated on Tue Sep 19 21:18:46 2006 for Boomerang by  doxygen 1.4.6