Mission Base

Program Base Library Functions

int pblSetIndexOf

( PblSet* set, void* element )

Returns the index of the given argument in the set.

Documentation

Returns the index of the given argument in the set.

This method has a time complexity of O(N), with N being the size of the set.

Parameters:
set - The set to use
element - Element to look for
Returns:
int rc >= 0: The index of the specified element.
int rc < 0: The specified element is not present.

Alphabetic index



This page was generated with the help of DOC++.