Framework
- Core Foundation
Overview
CFBinary
implements a container that stores values sorted using a binary search algorithm. All binary heaps are mutable; there is not a separate immutable variety. Binary heaps can be useful as priority queues.
Framework
CFBinary
implements a container that stores values sorted using a binary search algorithm. All binary heaps are mutable; there is not a separate immutable variety. Binary heaps can be useful as priority queues.
CFBinary Heap Add Value
Adds a value to a binary heap.
CFBinary Heap Apply Function
Iteratively applies a function to all the values in a binary heap.
CFBinary Heap Contains Value
Returns whether a given value is in a binary heap.
CFBinary Heap Create
Creates a new mutable or fixed-mutable binary heap.
CFBinary Heap Create Copy
Creates a new mutable or fixed-mutable binary heap with the values from a pre-existing binary heap.
CFBinary Heap Get Count
Returns the number of values currently in a binary heap.
CFBinary Heap Get Count Of Value
Counts the number of times a given value occurs in a binary heap.
CFBinary Heap Get Minimum
Returns the minimum value in a binary heap.
CFBinary Heap Get Minimum If Present
Returns the minimum value in a binary heap, if present.
CFBinary Heap Get Type ID
Returns the type identifier of the CFBinary
opaque type.
CFBinary Heap Get Values
Copies all the values from a binary heap into a sorted C array.
CFBinary Heap Remove All Values
Removes all values from a binary heap, making it empty.
CFBinary Heap Remove Minimum Value
Removes the minimum value from a binary heap.
CFBinary Heap Applier Function
Callback function used to apply a function to all members of a binary heap.
CFBinary Heap Compare Call Back
Callback function used to compare two members of a binary heap.
CFBinary Heap Copy Description Call Back
Callback function used to get a description of a value in a binary heap.
CFBinary Heap Release Call Back
Callback function used to release a value before it is removed from a binary heap.
CFBinary Heap Retain Call Back
Callback function used to retain a value being added to a binary heap.
CFBinary Heap Call Backs
Structure containing the callbacks for values for a CFBinary
object.
CFBinary Heap Compare Context
Not used.
CFBinary Heap Ref
A reference to a binary heap object.
CFBinary
provides some predefined callbacks for your convenience.
The CFFileDescriptor provides an opaque type to monitor file descriptors for read and write activity via CFRunLoop.
CFStringTokenizer allows you to tokenize strings into words, sentences or paragraphs in a language-neutral way. It supports languages such as Japanese and Chinese that do not delimit words by spaces, as well as de-compounding German compounds. You can obtain Latin transcription for tokens. It also provides language identification API.