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

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

#include <staticCFG.h>

Inheritance diagram for StaticCFG::CFGNodeAttribute:
Collaboration diagram for StaticCFG::CFGNodeAttribute:

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
 AstAttribute ()
 
virtual ~AstAttribute ()
 
virtual std::string toString ()
 
AstAttributeconstructor ()
 
std::string attribute_class_name ()
 
virtual int packed_size ()
 
virtual char * packed_data ()
 
virtual void unpacked_data (int size, char *data)
 
virtual std::string additionalNodeOptions ()
 
virtual std::vector
< AttributeEdgeInfo
additionalEdgeInfo ()
 
virtual std::vector
< AttributeNodeInfo
additionalNodeInfo ()
 
virtual AstAttributecopy ()
 
virtual bool commentOutNodeInGraph ()
 

Private Attributes

int index_
 
SgIncidenceDirectedGraphgraph_
 

Detailed Description

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

Definition at line 136 of file staticCFG.h.

Constructor & Destructor Documentation

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

Definition at line 142 of file staticCFG.h.

Member Function Documentation

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

Definition at line 145 of file staticCFG.h.

References index_.

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

Definition at line 147 of file staticCFG.h.

References index_.

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

Definition at line 149 of file staticCFG.h.

References graph_.

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

Definition at line 150 of file staticCFG.h.

References graph_.

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

Definition at line 152 of file staticCFG.h.

References graph_.

Member Data Documentation

int StaticCFG::CFGNodeAttribute::index_
private

Definition at line 138 of file staticCFG.h.

Referenced by getIndex(), and setIndex().

SgIncidenceDirectedGraph* StaticCFG::CFGNodeAttribute::graph_
private

Definition at line 139 of file staticCFG.h.

Referenced by getGraph(), and setGraph().


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