rmlGetGraphOutputNames

Returns output nodes in the graph.

rml_status rmlGetGraphInputNames(

rml_graph graph,

rml_strings* names);

API

Graph Manipulation

Parameters

Parameter

Input/Output

Description

graph

input

A valid graph handle.

names

output

A pointer to a structure with resulting output names.

Return and Status Codes

Returns a model handle in case of success and status:

  • RML_OK in case of success

  • RML_ERROR_BAD_PARAMETER if graph is invalid or names is NULL.

The returned strings memory is owned by the graph and must not be freed. The memory may be invalidated an a next call involving the graph.

To get more details in case of failure, call rmlGetLastError().