Queries a table for a list of indices of rows which are currently selected.
a pointer to the Table implementor on which to operate.
an array of int values, specifying which rows are currently selected.