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

#include <virtualCFG.h>

Public Member Functions

 CFGPath (CFGEdge e)
 
 CFGPath (const CFGPath &a, const CFGPath &b)
 
 CFGPath ()
 
std::string toString () const
 
std::string toStringForDebugging () const
 
std::string id () const
 
CFGNode source () const
 
CFGNode target () const
 
EdgeConditionKind condition () const
 
SgExpressioncaseLabel () const
 
SgExpressionconditionBasedOn () const
 
std::vector< SgInitializedName * > scopesBeingExited () const
 
std::vector< SgInitializedName * > scopesBeingEntered () const
 
bool operator== (const CFGPath &o) const
 
bool operator!= (const CFGPath &o) const
 
bool operator< (const CFGPath &o) const
 An arbitrary order, so we can use this in std::set and std::map. More...
 
const std::vector< CFGEdge > & getEdges () const
 Returns the edges in the path, starting at the source and ending at the target. More...
 

Private Attributes

std::vector< CFGEdgeedges
 

Detailed Description

A CFG path is a set of connected CFG edges; condition and variable information is combined across the edges in the path. Paths are used as parts of edges in filtered views of the CFG. They implement almost the same functions as CFG edges, and their functions are just forwarded to by filtered edge methods. This is an internal class.

Definition at line 154 of file virtualCFG.h.

Constructor & Destructor Documentation

VirtualCFG::CFGPath::CFGPath ( CFGEdge  e)
inline

Definition at line 159 of file virtualCFG.h.

VirtualCFG::CFGPath::CFGPath ( const CFGPath a,
const CFGPath b 
)
inline

Definition at line 161 of file virtualCFG.h.

References edges.

VirtualCFG::CFGPath::CFGPath ( )
inline

Definition at line 169 of file virtualCFG.h.

Member Function Documentation

SgExpression* VirtualCFG::CFGPath::caseLabel ( ) const
inline
SgExpression* VirtualCFG::CFGPath::conditionBasedOn ( ) const
inline
std::vector<SgInitializedName*> VirtualCFG::CFGPath::scopesBeingExited ( ) const
inline
std::vector<SgInitializedName*> VirtualCFG::CFGPath::scopesBeingEntered ( ) const
inline
bool VirtualCFG::CFGPath::operator== ( const CFGPath o) const
inline

Definition at line 219 of file virtualCFG.h.

References edges.

bool VirtualCFG::CFGPath::operator!= ( const CFGPath o) const
inline

Definition at line 220 of file virtualCFG.h.

References edges.

bool VirtualCFG::CFGPath::operator< ( const CFGPath o) const
inline

An arbitrary order, so we can use this in std::set and std::map.

Definition at line 223 of file virtualCFG.h.

References edges.

const std::vector<CFGEdge>& VirtualCFG::CFGPath::getEdges ( ) const
inline

Returns the edges in the path, starting at the source and ending at the target.

Definition at line 236 of file virtualCFG.h.

References edges.

Member Data Documentation

std::vector<CFGEdge> VirtualCFG::CFGPath::edges
private

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