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

#include <Callgraph.h>

Collaboration diagram for CallgraphInhAttr:

Public Member Functions

 CallgraphInhAttr (SgNode *astNode)
 Specific constructors are required. More...
 
 CallgraphInhAttr (const CallgraphInhAttr &X, SgNode *astNode)
 
bool hasValidFunctionScope (void)
 is the current function scope correctly initialized? More...
 
long getCurrentFunctionScope (void)
 get current function scope More...
 
long pushFunctionScope (long id)
 add scope function id More...
 

Private Attributes

vector< long > mFunctionScopes
 current context of function scopes More...
 

Detailed Description

Definition at line 79 of file Callgraph.h.

Constructor & Destructor Documentation

CallgraphInhAttr::CallgraphInhAttr ( SgNode astNode)
inline

Specific constructors are required.

Definition at line 83 of file Callgraph.h.

CallgraphInhAttr::CallgraphInhAttr ( const CallgraphInhAttr X,
SgNode astNode 
)
inline

Definition at line 86 of file Callgraph.h.

References mFunctionScopes.

Member Function Documentation

bool CallgraphInhAttr::hasValidFunctionScope ( void  )
inline

is the current function scope correctly initialized?

Definition at line 91 of file Callgraph.h.

References mFunctionScopes.

long CallgraphInhAttr::getCurrentFunctionScope ( void  )
inline

get current function scope

Definition at line 95 of file Callgraph.h.

References mFunctionScopes.

long CallgraphInhAttr::pushFunctionScope ( long  id)
inline

add scope function id

Definition at line 100 of file Callgraph.h.

References mFunctionScopes.

Member Data Documentation

vector<long> CallgraphInhAttr::mFunctionScopes
private

current context of function scopes

Definition at line 105 of file Callgraph.h.

Referenced by CallgraphInhAttr(), getCurrentFunctionScope(), hasValidFunctionScope(), and pushFunctionScope().


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