Single-Element Functions : List of Functions : stm_r_xx_instance_name

stm_r_xx_instance_name
Returns the name of the instance as it appears in the chart for a specific hierarchical Rational Statemate element.

stm_r_instance_name (id, &status)

Function Type
stm_instance_name
For Elements
Syntax
stm_r_xx_instance_name (xx_id, &status)
Arguments
 
Input/Output
Status Codes
Example
To return the name of an instance for state named S1@S1_def, use the following statements:

stm_id state_id;
int status;
.
.
.
state_id = stm_r_st ("S1", &status);
printf ("\n Instance Name: %s",
stm_r_st_instance_name (state_id, &status));
.
.
.
The name is written to the output is S1@S1_def.