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 564 of file GenericGraph.h.
typedef IDToNodeMapTy::const_iterator SVF::GenericGraph< NodeTy, EdgeTy >::const_iterator |
Definition at line 580 of file GenericGraph.h.
Definition at line 573 of file GenericGraph.h.
typedef OrderedMap<NodeID, NodeType*> SVF::GenericGraph< NodeTy, EdgeTy >::IDToNodeMapTy |
NodeID to GenericNode map.
Definition at line 575 of file GenericGraph.h.
typedef IDToNodeMapTy::iterator SVF::GenericGraph< NodeTy, EdgeTy >::iterator |
Node Iterators.
Definition at line 579 of file GenericGraph.h.
Definition at line 572 of file GenericGraph.h.
|
inlinevirtual |
|
inline |
Add a Node.
Definition at line 619 of file GenericGraph.h.
|
inline |
Iterators.
Definition at line 600 of file GenericGraph.h.
|
inline |
Definition at line 608 of file GenericGraph.h.
Definition at line 604 of file GenericGraph.h.
|
inline |
Definition at line 612 of file GenericGraph.h.
|
inline |
Get a node.
Definition at line 626 of file GenericGraph.h.
|
inline |
Definition at line 657 of file GenericGraph.h.
|
inline |
Get total number of node/edge.
Definition at line 653 of file GenericGraph.h.
|
inline |
Has a node.
Definition at line 634 of file GenericGraph.h.
|
inline |
Definition at line 666 of file GenericGraph.h.
|
inline |
Increase number of node/edge.
Definition at line 662 of file GenericGraph.h.
|
inline |
Delete a node.
Definition at line 641 of file GenericGraph.h.
Definition at line 567 of file GenericGraph.h.
Definition at line 567 of file GenericGraph.h.
Definition at line 567 of file GenericGraph.h.
Definition at line 566 of file GenericGraph.h.
total num of node
Definition at line 675 of file GenericGraph.h.
|
protected |
node map
Definition at line 672 of file GenericGraph.h.
total num of edge
Definition at line 676 of file GenericGraph.h.