Function

CFSetGetValues

Obtains all values in a set.

Declaration

void CFSetGetValues(CFSetRef theSet, const void **values);

Parameters

theSet

The set to examine.

values

A C array of pointer-sized values to be filled with values from theSet. The value must be a valid C array of the appropriate type and of a size at least equal to the count of theSet). If the values are Core Foundation objects, ownership follows the The Create Rule.

See Also

Examining a Set

CFSetContainsValue

Returns a Boolean that indicates whether a set contains a given value.

CFSetGetCount

Returns the number of values currently in a set.

CFSetGetCountOfValue

Returns the number of values in a set that match a given value.

CFSetGetValue

Obtains a specified value from a set.

CFSetGetValueIfPresent

Reports whether or not a value is in a set, and if it exists returns the value indirectly.