ROSE  0.9.6a
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SideEffectAnalysis Class Referenceabstract

#include <sideEffect.h>

Public Member Functions

virtual ~SideEffectAnalysis ()=0
 Destructor. More...
 
virtual int calcSideEffect (SgProject &project)=0
 Perform the side effect analysis on the given project. More...
 
virtual int calcSideEffect (SgFile &file)=0
 Perform the side effect analysis on a file. More...
 
virtual int calcSideEffect (SgNode &node)=0
 Perform the side effect analysis on a node. More...
 
virtual std::list< const char * > getCalledFunctions ()=0
 Return the list of invoked functions encountered during the analysis. More...
 
virtual std::list< const char * > getGMOD (const char *func)=0
 Return a list of side effects for the given function. More...
 
virtual std::list< const char * > getDMOD (const char *stmt)=0
 Return a list of side effects for the given statement. More...
 
virtual std::string getNodeIdentifier (SgNode *node)=0
 Return the identifier associated with this node and to be passed to getDMOD. More...
 

Static Public Member Functions

static SideEffectAnalysiscreate ()
 "Constructor" to return a concrete instance of side effect implementation. More...
 

Protected Member Functions

 SideEffectAnalysis ()
 Disallow default constructor. More...
 
 SideEffectAnalysis (const SideEffectAnalysis &rhs)
 Disallow copy constructor. More...
 

Private Member Functions

SideEffectAnalysisoperator= (const SideEffectAnalysis &rhs)
 Disallow assignment operator. More...
 

Detailed Description

Definition at line 24 of file sideEffect.h.

Constructor & Destructor Documentation

virtual SideEffectAnalysis::~SideEffectAnalysis ( )
pure virtual

Destructor.

SideEffectAnalysis::SideEffectAnalysis ( )
protected

Disallow default constructor.

SideEffectAnalysis::SideEffectAnalysis ( const SideEffectAnalysis rhs)
protected

Disallow copy constructor.

Member Function Documentation

static SideEffectAnalysis* SideEffectAnalysis::create ( )
static

"Constructor" to return a concrete instance of side effect implementation.

virtual int SideEffectAnalysis::calcSideEffect ( SgProject project)
pure virtual

Perform the side effect analysis on the given project.

virtual int SideEffectAnalysis::calcSideEffect ( SgFile file)
pure virtual

Perform the side effect analysis on a file.

virtual int SideEffectAnalysis::calcSideEffect ( SgNode node)
pure virtual

Perform the side effect analysis on a node.

virtual std::list<const char* > SideEffectAnalysis::getCalledFunctions ( )
pure virtual

Return the list of invoked functions encountered during the analysis.

virtual std::list<const char* > SideEffectAnalysis::getGMOD ( const char *  func)
pure virtual

Return a list of side effects for the given function.

virtual std::list<const char* > SideEffectAnalysis::getDMOD ( const char *  stmt)
pure virtual

Return a list of side effects for the given statement.

virtual std::string SideEffectAnalysis::getNodeIdentifier ( SgNode node)
pure virtual

Return the identifier associated with this node and to be passed to getDMOD.

SideEffectAnalysis& SideEffectAnalysis::operator= ( const SideEffectAnalysis rhs)
private

Disallow assignment operator.


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