|
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 | GenericGraphWriter< NodeTy, EdgeTy > |
| class | GenericGraphReader< NodeTy, EdgeTy > |
Definition at line 337 of file GenericGraph.h.
| typedef IDToNodeMapTy::const_iterator SVF::GenericGraph< NodeTy, EdgeTy >::const_iterator |
Definition at line 351 of file GenericGraph.h.
| typedef EdgeTy SVF::GenericGraph< NodeTy, EdgeTy >::EdgeType |
Definition at line 344 of file GenericGraph.h.
| typedef OrderedMap<NodeID, NodeType*> SVF::GenericGraph< NodeTy, EdgeTy >::IDToNodeMapTy |
NodeID to GenericNode map.
Definition at line 346 of file GenericGraph.h.
| typedef IDToNodeMapTy::iterator SVF::GenericGraph< NodeTy, EdgeTy >::iterator |
Node Iterators.
Definition at line 350 of file GenericGraph.h.
| typedef NodeTy SVF::GenericGraph< NodeTy, EdgeTy >::NodeType |
Definition at line 343 of file GenericGraph.h.
|
inline |
|
inlinevirtual |
|
inline |
Add a Node.
Definition at line 390 of file GenericGraph.h.
|
inline |
Iterators.
Definition at line 371 of file GenericGraph.h.
|
inline |
Definition at line 379 of file GenericGraph.h.
|
inline |
Release memory.
Definition at line 364 of file GenericGraph.h.
|
inline |
Definition at line 375 of file GenericGraph.h.
|
inline |
Definition at line 383 of file GenericGraph.h.
|
inline |
Get a node.
Definition at line 397 of file GenericGraph.h.
|
inline |
Definition at line 428 of file GenericGraph.h.
|
inline |
Get total number of node/edge.
Definition at line 424 of file GenericGraph.h.
|
inline |
Has a node.
Definition at line 405 of file GenericGraph.h.
|
inline |
Definition at line 437 of file GenericGraph.h.
|
inline |
Increase number of node/edge.
Definition at line 433 of file GenericGraph.h.
|
inline |
Delete a node.
Definition at line 412 of file GenericGraph.h.
|
friend |
Definition at line 326 of file GenericGraph.h.
|
friend |
Definition at line 326 of file GenericGraph.h.
| u32_t SVF::GenericGraph< NodeTy, EdgeTy >::edgeNum |
total num of node
Definition at line 446 of file GenericGraph.h.
|
protected |
node map
Definition at line 443 of file GenericGraph.h.
| u32_t SVF::GenericGraph< NodeTy, EdgeTy >::nodeNum |
total num of edge
Definition at line 447 of file GenericGraph.h.