OA::Activity::InterUseful Class Reference

#include <InterUseful.hpp>

Inheritance diagram for OA::Activity::InterUseful:
Inheritance graph
[legend]
Collaboration diagram for OA::Activity::InterUseful:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 InterUseful ()
virtual ~InterUseful ()
OA_ptr< Activity::UsefulStandardgetUsefulResults (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

Detailed Description

Definition at line 26 of file InterUseful.hpp.


Constructor & Destructor Documentation

OA::Activity::InterUseful::InterUseful (  )  [inline]

Definition at line 28 of file InterUseful.hpp.

References mNumIter.

virtual OA::Activity::InterUseful::~InterUseful (  )  [inline, virtual]

Definition at line 29 of file InterUseful.hpp.


Member Function Documentation

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.

Here is the call graph for this function:

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.


Member Data Documentation

Definition at line 108 of file InterUseful.hpp.

Referenced by dump(), getNumIter(), InterUseful(), and setNumIter().

Definition at line 107 of file InterUseful.hpp.

Referenced by dump(), getUsefulResults(), mapProcToUseful(), and output().


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

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