GetSubgraph
Description
Obtains the indexth subgraph object of the current node.
Prototype
graphStatus GetSubgraph(uint32_t index, graphPtr &graph) const;
Restrictions
None
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
index |
Input |
Subgraph index. |
graph |
Output |
Pointer to a subgraph. A null pointer indicates no such subgraph. |
Returns
Parameter |
Type |
Description |
|---|---|---|
- |
graphStatus |
GRAPH_SUCCESS(0) on success; else, failure. |
Parent topic: Class GNode