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

#include <CallGraphTraverse.h>

Inheritance diagram for CGFunction:
Collaboration diagram for CGFunction:

Classes

class  iterator
 

Public Member Functions

 CGFunction (std::string name, SgIncidenceDirectedGraph *graph)
 
 CGFunction (SgFunctionDeclaration *sample, SgIncidenceDirectedGraph *graph)
 
 CGFunction (SgGraphNode *sample, SgIncidenceDirectedGraph *graph)
 
 CGFunction (const CGFunction &that)
 
 CGFunction (const CGFunction *that)
 
bool operator== (const CGFunction &that) const
 
bool operator!= (const CGFunction &that) const
 
bool operator< (const CGFunction &that) const
 
bool operator> (const CGFunction &that) const
 
bool operator<= (const CGFunction &that) const
 
bool operator>= (const CGFunction &that) const
 
iterator callees () const
 
iterator successors () const
 
iterator callers () const
 
iterator predecessors () const
 
iterator end () const
 
- Public Member Functions inherited from Function
 Function ()
 
 Function (std::string name)
 
 Function (SgFunctionDeclaration *sample)
 
 Function (SgFunctionDefinition *sample)
 
 Function (SgFunctionCallExp *funcCall)
 
void init (SgFunctionDeclaration *sample)
 
 Function (const Function &that)
 
 Function (const Function *that)
 
bool eq (const Function &that) const
 
bool operator== (const Function &that) const
 
bool operator!= (const Function &that) const
 
bool operator< (const Function &that) const
 
bool operator> (const Function &that) const
 
bool operator<= (const Function &that) const
 
bool operator>= (const Function &that) const
 
SgName get_name () const
 
SgFunctionDefinitionget_definition () const
 
SgFunctionDeclarationget_declaration () const
 
Sg_File_Infoget_file_info () const
 
SgInitializedNamePtrList get_params () const
 
std::string str (std::string indent="") const
 

Protected Member Functions

void initCGNodes ()
 
- Protected Member Functions inherited from Function
bool lessThan (const Function &that) const
 

Private Attributes

std::set< SgGraphNode * > cgNodes
 
SgIncidenceDirectedGraphgraph
 

Additional Inherited Members

- Static Public Member Functions inherited from Function
static SgFunctionDeclarationgetCanonicalDecl (SgFunctionDeclaration *decl)
 
- Protected Attributes inherited from Function
SgFunctionDeclarationdecl
 

Detailed Description

Definition at line 77 of file CallGraphTraverse.h.

Constructor & Destructor Documentation

CGFunction::CGFunction ( std::string  name,
SgIncidenceDirectedGraph graph 
)
CGFunction::CGFunction ( SgFunctionDeclaration sample,
SgIncidenceDirectedGraph graph 
)
CGFunction::CGFunction ( SgGraphNode sample,
SgIncidenceDirectedGraph graph 
)
CGFunction::CGFunction ( const CGFunction that)
CGFunction::CGFunction ( const CGFunction that)

Member Function Documentation

void CGFunction::initCGNodes ( )
protected
bool CGFunction::operator== ( const CGFunction that) const
bool CGFunction::operator!= ( const CGFunction that) const
bool CGFunction::operator< ( const CGFunction that) const
bool CGFunction::operator> ( const CGFunction that) const
bool CGFunction::operator<= ( const CGFunction that) const
bool CGFunction::operator>= ( const CGFunction that) const
iterator CGFunction::callees ( ) const
inline

Definition at line 269 of file CallGraphTraverse.h.

References CGFunction::iterator::fw.

iterator CGFunction::successors ( ) const
inline

Definition at line 274 of file CallGraphTraverse.h.

References CGFunction::iterator::fw.

iterator CGFunction::callers ( ) const
inline

Definition at line 281 of file CallGraphTraverse.h.

References CGFunction::iterator::bw.

iterator CGFunction::predecessors ( ) const
inline

Definition at line 286 of file CallGraphTraverse.h.

References CGFunction::iterator::bw.

iterator CGFunction::end ( ) const
inline

Definition at line 292 of file CallGraphTraverse.h.

Member Data Documentation


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