ROSE 0.11.145.192
Public Member Functions | List of all members
StaticCFG::CFGNodeAttribute Class Reference

Description

This class stores index of each node as an attribuite of SgGraphNode.

Definition at line 140 of file staticCFG.h.

#include <virtualCFG/staticCFG.h>

Inheritance diagram for StaticCFG::CFGNodeAttribute:
Inheritance graph
[legend]
Collaboration diagram for StaticCFG::CFGNodeAttribute:
Collaboration graph
[legend]

Public Member Functions

 CFGNodeAttribute (int idx=0, SgIncidenceDirectedGraph *graph=NULL)
 
int getIndex () const
 
void setIndex (int idx)
 
const SgIncidenceDirectedGraphgetGraph () const
 
SgIncidenceDirectedGraphgetGraph ()
 
void setGraph (SgIncidenceDirectedGraph *graph)
 
- Public Member Functions inherited from AstAttribute
virtual OwnershipPolicy getOwnershipPolicy () const
 Who owns this attribute.
 
virtual AstAttributeconstructor () const
 Virtual default constructor.
 
virtual AstAttributecopy () const
 Virtual copy constructor.
 
virtual AstAttributecopy ()
 
virtual std::string attribute_class_name () const
 Attribute class name.
 
virtual std::string toString ()
 Convert an attribute to a string.
 
virtual bool commentOutNodeInGraph ()
 Eliminate IR nodes in DOT graphs.
 
virtual int packed_size ()
 Packing support.
 
virtual char * packed_data ()
 Packing support.
 
virtual void unpacked_data (int size, char *data)
 Packing support.
 
virtual std::string additionalNodeOptions ()
 DOT support.
 
virtual std::vector< AttributeEdgeInfoadditionalEdgeInfo ()
 DOT support.
 
virtual std::vector< AttributeNodeInfoadditionalNodeInfo ()
 DOT support.
 

Additional Inherited Members

- Public Types inherited from AstAttribute
enum  OwnershipPolicy {
  CONTAINER_OWNERSHIP ,
  NO_OWNERSHIP ,
  CUSTOM_OWNERSHIP ,
  UNKNOWN_OWNERSHIP
}
 Who owns this attribute. More...
 

Constructor & Destructor Documentation

◆ CFGNodeAttribute()

StaticCFG::CFGNodeAttribute::CFGNodeAttribute ( int  idx = 0,
SgIncidenceDirectedGraph graph = NULL 
)
inline

Definition at line 146 of file staticCFG.h.

Member Function Documentation

◆ getIndex()

int StaticCFG::CFGNodeAttribute::getIndex ( ) const
inline

Definition at line 149 of file staticCFG.h.

◆ setIndex()

void StaticCFG::CFGNodeAttribute::setIndex ( int  idx)
inline

Definition at line 151 of file staticCFG.h.

◆ getGraph() [1/2]

const SgIncidenceDirectedGraph * StaticCFG::CFGNodeAttribute::getGraph ( ) const
inline

Definition at line 153 of file staticCFG.h.

◆ getGraph() [2/2]

SgIncidenceDirectedGraph * StaticCFG::CFGNodeAttribute::getGraph ( )
inline

Definition at line 154 of file staticCFG.h.

◆ setGraph()

void StaticCFG::CFGNodeAttribute::setGraph ( SgIncidenceDirectedGraph graph)
inline

Definition at line 156 of file staticCFG.h.


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