ROSE
0.9.6a
|
#include <Classhierarchy.h>
Public Member Functions | |
ClasshierarchyTraversal (SgProject &project) | |
ClasshierarchyInhAttr | evaluateInheritedAttribute (SgNode *astNode, ClasshierarchyInhAttr inheritedAttribute) |
pure virtual function which must be implemented to compute the inherited attribute at a node More... | |
void | removeDeletedFunctionRows (void) |
remove functions row entries from DB using mpFunctionDefinitions More... | |
void | setFileScopes (vector< long > *set) |
set file scope vector More... | |
vector< long > * | getFileScopes (void) |
get file scope vector More... | |
void | setDB (GlobalDatabaseConnection *set) |
set DB connection More... | |
GlobalDatabaseConnection * | getDB (void) |
get DB connection More... | |
void | setProjectId (long set) |
set project ID More... | |
long | getProjectId (void) |
get project ID More... | |
void | setFileId (long set) |
set file ID More... | |
long | getFileId (void) |
get file ID More... | |
void | setClasshierarchy (Classhierarchy *set) |
set pointer to the Classhierarchy graph object More... | |
Classhierarchy * | getClasshierarchy (void) |
get pointer to the Classhierarchy graph object More... | |
void | setSgProject (SgProject *set) |
set pointer to the SgProject graph object More... | |
SgProject * | getSgProject (void) |
get pointer to the SgProject graph object More... | |
Private Attributes | |
GlobalDatabaseConnection * | mpGDB |
long | mProjectId |
ID of the current project. More... | |
long | mFileId |
ID of the current file. More... | |
Classhierarchy * | mClasshierarchy |
graph to store the class hierarchy More... | |
vector< long > * | mpFileScopes |
vector of all id's of the processed files (for cleanup) More... | |
SgProject * | mpSgProject |
pointer to the project node More... | |
Additional Inherited Members | |
Public Types inherited from AstTopDownProcessing< ClasshierarchyInhAttr > | |
typedef SgTreeTraversal < ClasshierarchyInhAttr, DummyAttribute > ::SynthesizedAttributesList | SynthesizedAttributesList |
Protected Types inherited from SgTreeTraversal< ClasshierarchyInhAttr, DummyAttribute > | |
typedef AstSuccessorsSelectors::SuccessorsContainer | SuccessorsContainer |
typedef SuccessorsContainer & | SuccessorsContainerRef |
Protected Member Functions inherited from AstTopDownProcessing< ClasshierarchyInhAttr > | |
virtual void | atTraversalStart () |
Function called at the start of the traversal, before any node is visited; override if necessary, the default implementation is a no-op. More... | |
virtual void | atTraversalEnd () |
virtual void | destroyInheritedValue (SgNode *, ClasshierarchyInhAttr) |
Definition at line 88 of file Classhierarchy.h.
|
inline |
Definition at line 92 of file Classhierarchy.h.
References mClasshierarchy, mFileId, mProjectId, and mpSgProject.
|
virtual |
pure virtual function which must be implemented to compute the inherited attribute at a node
Implements AstTopDownProcessing< ClasshierarchyInhAttr >.
void ClasshierarchyTraversal::removeDeletedFunctionRows | ( | void | ) |
remove functions row entries from DB using mpFunctionDefinitions
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
set pointer to the Classhierarchy graph object
Definition at line 132 of file Classhierarchy.h.
References mClasshierarchy.
|
inline |
get pointer to the Classhierarchy graph object
Definition at line 134 of file Classhierarchy.h.
References mClasshierarchy.
|
inline |
set pointer to the SgProject graph object
Definition at line 137 of file Classhierarchy.h.
References mpSgProject.
|
inline |
get pointer to the SgProject graph object
Definition at line 139 of file Classhierarchy.h.
References mpSgProject.
|
private |
Definition at line 145 of file Classhierarchy.h.
|
private |
ID of the current project.
Definition at line 148 of file Classhierarchy.h.
Referenced by ClasshierarchyTraversal(), getProjectId(), and setProjectId().
|
private |
ID of the current file.
Definition at line 151 of file Classhierarchy.h.
Referenced by ClasshierarchyTraversal(), getFileId(), and setFileId().
|
private |
graph to store the class hierarchy
Definition at line 154 of file Classhierarchy.h.
Referenced by ClasshierarchyTraversal(), getClasshierarchy(), and setClasshierarchy().
|
private |
vector of all id's of the processed files (for cleanup)
Definition at line 157 of file Classhierarchy.h.
Referenced by getFileScopes(), and setFileScopes().
|
private |
pointer to the project node
Definition at line 160 of file Classhierarchy.h.
Referenced by ClasshierarchyTraversal(), getSgProject(), and setSgProject().