mpiSequenceCommandIndex

Declaration
long mpiSequenceCommandIndex(MPISequence  sequence,
                             MPICommand   command)
Required Header stdmpi.h
Description

SequenceCommandIndex returns the position of "command" on the list.

  sequence a handle to the Sequence object.
  command a handle to a Command object.
     
Return Values
index
of a Command (command) in a Sequence (sequence)
-1
if sequence is invalid
if the Command (command) was not found in the Sequence (sequence)
See Also