Static Value-Flow Analysis
|
#include <GenericGraph.h>
Public Types | |
typedef NodeTy | NodeType |
typedef EdgeTy | EdgeType |
typedef OrderedMap< NodeID, NodeType * > | IDToNodeMapTy |
NodeID to GenericNode map. | |
typedef IDToNodeMapTy::iterator | iterator |
Node Iterators. | |
typedef IDToNodeMapTy::const_iterator | const_iterator |
Public Member Functions | |
GenericGraph () | |
Constructor. | |
virtual | ~GenericGraph () |
Destructor. | |
void | destroy () |
Release memory. | |
iterator | begin () |
Iterators. | |
iterator | end () |
const_iterator | begin () const |
const_iterator | end () const |
void | addGNode (NodeID id, NodeType *node) |
Add a Node. | |
NodeType * | getGNode (NodeID id) const |
Get a node. | |
bool | hasGNode (NodeID id) const |
Has a node. | |
void | removeGNode (NodeType *node) |
Delete a node. | |
u32_t | getTotalNodeNum () const |
Get total number of node/edge. | |
u32_t | getTotalEdgeNum () const |
void | incNodeNum () |
Increase number of node/edge. | |
void | incEdgeNum () |
Public Attributes | |
u32_t | edgeNum |
total num of node | |
u32_t | nodeNum |
total num of edge | |
Protected Attributes | |
IDToNodeMapTy | IDToNodeMap |
node map | |
Friends | |
class | SVFIRWriter |
class | SVFIRReader |
class | GenericGraphWriter< NodeTy, EdgeTy > |
class | GenericGraphReader< NodeTy, EdgeTy > |
Definition at line 341 of file GenericGraph.h.
typedef IDToNodeMapTy::const_iterator SVF::GenericGraph< NodeTy, EdgeTy >::const_iterator |
Definition at line 357 of file GenericGraph.h.
Definition at line 350 of file GenericGraph.h.
typedef OrderedMap<NodeID, NodeType*> SVF::GenericGraph< NodeTy, EdgeTy >::IDToNodeMapTy |
NodeID to GenericNode map.
Definition at line 352 of file GenericGraph.h.
typedef IDToNodeMapTy::iterator SVF::GenericGraph< NodeTy, EdgeTy >::iterator |
Node Iterators.
Definition at line 356 of file GenericGraph.h.
Definition at line 349 of file GenericGraph.h.
|
inlinevirtual |
|
inline |
Add a Node.
Definition at line 396 of file GenericGraph.h.
|
inline |
Iterators.
Definition at line 377 of file GenericGraph.h.
|
inline |
Definition at line 385 of file GenericGraph.h.
Definition at line 381 of file GenericGraph.h.
|
inline |
Definition at line 389 of file GenericGraph.h.
|
inline |
Get a node.
Definition at line 403 of file GenericGraph.h.
|
inline |
Definition at line 434 of file GenericGraph.h.
|
inline |
Get total number of node/edge.
Definition at line 430 of file GenericGraph.h.
|
inline |
Has a node.
Definition at line 411 of file GenericGraph.h.
|
inline |
Definition at line 443 of file GenericGraph.h.
|
inline |
Increase number of node/edge.
Definition at line 439 of file GenericGraph.h.
|
inline |
Delete a node.
Definition at line 418 of file GenericGraph.h.
Definition at line 344 of file GenericGraph.h.
Definition at line 344 of file GenericGraph.h.
Definition at line 344 of file GenericGraph.h.
Definition at line 343 of file GenericGraph.h.
total num of node
Definition at line 452 of file GenericGraph.h.
|
protected |
node map
Definition at line 449 of file GenericGraph.h.
total num of edge
Definition at line 453 of file GenericGraph.h.