Input/Outputelement_type
is one of the possible values of the enumerated typestm_element_type.
The values of this type usually take the forms
tm_element_type
(for example,stm_state
,stm_event,
and so on). To extract a list of all the activities appearing in a list of Rational Statemate elements, the input list is assigned to the variableact_list
using the following statement:stm_list list, act_list;
int status;
.
.
act_list = stm_list_extraction_by_type (stm_activity,
list, &status);
.
.Note thatstm_activity
is a constant value, not a variable.