#include <InterUseful.hpp>


Public Member Functions | |
| InterUseful () | |
| virtual | ~InterUseful () |
| OA_ptr< Activity::UsefulStandard > | getUsefulResults (ProcHandle proc) |
| Returns useful results for the given procedure. | |
| int | getNumIter () |
| Returns number of iterations over all node. | |
| void | dump (std::ostream &os, OA_ptr< IRHandlesIRInterface > ir) |
| debugging output | |
| void | output (IRHandlesIRInterface &ir) |
| void | mapProcToUseful (ProcHandle proc, OA_ptr< UsefulStandard > useful) |
| attach UsefulStandard to procedure | |
| void | setNumIter (int n) |
| set number of iterations over all nodes | |
Private Attributes | |
| std::map< ProcHandle, OA_ptr < UsefulStandard > > | mProcToUsefulMap |
| int | mNumIter |
Definition at line 26 of file InterUseful.hpp.
| OA::Activity::InterUseful::InterUseful | ( | ) | [inline] |
| virtual OA::Activity::InterUseful::~InterUseful | ( | ) | [inline, virtual] |
Definition at line 29 of file InterUseful.hpp.
| void OA::Activity::InterUseful::dump | ( | std::ostream & | os, | |
| OA_ptr< IRHandlesIRInterface > | ir | |||
| ) | [inline] |
debugging output
Definition at line 48 of file InterUseful.hpp.
References OA::OA_ptr< T >::dump(), mNumIter, and mProcToUsefulMap.

| int OA::Activity::InterUseful::getNumIter | ( | ) | [inline] |
Returns number of iterations over all node.
Definition at line 42 of file InterUseful.hpp.
References mNumIter.
| OA_ptr<Activity::UsefulStandard> OA::Activity::InterUseful::getUsefulResults | ( | ProcHandle | proc | ) | [inline] |
Returns useful results for the given procedure.
Definition at line 32 of file InterUseful.hpp.
References mProcToUsefulMap.
| void OA::Activity::InterUseful::mapProcToUseful | ( | ProcHandle | proc, | |
| OA_ptr< UsefulStandard > | useful | |||
| ) | [inline] |
attach UsefulStandard to procedure
Definition at line 100 of file InterUseful.hpp.
References mProcToUsefulMap.
| void OA::Activity::InterUseful::output | ( | IRHandlesIRInterface & | ir | ) | [inline, virtual] |
Implements OA::Annotation.
Definition at line 69 of file InterUseful.hpp.
References mProcToUsefulMap, and OA::Annotation::sOutBuild.
| void OA::Activity::InterUseful::setNumIter | ( | int | n | ) | [inline] |
set number of iterations over all nodes
Definition at line 104 of file InterUseful.hpp.
References mNumIter.
int OA::Activity::InterUseful::mNumIter [private] |
Definition at line 108 of file InterUseful.hpp.
Referenced by dump(), getNumIter(), InterUseful(), and setNumIter().
std::map<ProcHandle,OA_ptr<UsefulStandard> > OA::Activity::InterUseful::mProcToUsefulMap [private] |
Definition at line 107 of file InterUseful.hpp.
Referenced by dump(), getUsefulResults(), mapProcToUseful(), and output().
1.5.7.1