GetName
Applicability
Product |
Supported or Not |
|---|---|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
Header File/Library File
- Header file: #include <graph/graph.h>
- Library file: libgraph.so
Function Usage
Obtains the graph name.
Prototype
APIs taking string arguments will be deprecated in future releases. Use APIs taking non-string arguments instead.
1 2 | const std::string &Graph::GetName() const graphStatus GetName(AscendString &name) const |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
name |
Output |
Graph name. |
Returns
Parameter |
Type |
Description |
|---|---|---|
- |
graphStatus |
SUCCESS: The graph name is successfully obtained. |
Constraints
None
Parent topic: Graph