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