Module core_foundation

Source
Expand description

Access low-level functions, primitive data types, and various collection types that are bridged seamlessly with the Foundation framework.

Modules§

iter

Structs§

CFAllocator
CFAllocator is an opaque type that allocates and deallocates memory for you.
CFAllocatorContext
A structure that defines the context or operating environment for an allocator (CFAllocator) object. Every Core Foundation allocator object must have a context defined for it.
CFArray
A reference to a CFString object.
CFCharacterSet
A reference to a CFString object.
CFData
This provides support for data objects, object-oriented wrappers for byte buffer
CFDictionary
A reference to a CFString object.
CFLocale
A reference to a CFString object.
CFRange
A structure representing a range of sequential items in a container, such as characters in a buffer or elements in a collection.
CFString
A reference to a CFString object.
CFStringCompareFlags
A CFOptionFlags type for specifying options for string comparison .
CFStringInlineBuffer
Defines the buffer and related fields used for in-line buffer access of characters in CFString objects.
CFType
KCFStringEncoding
An integer type for constants used to specify supported string encodings in various CFString functions.
__CFAllocator
__CFArray
__CFCharacterSet
__CFData
__CFDictionary
__CFLocale
__CFString

Enums§

CFComparisonResult
Constants returned by comparison functions, indicating whether a value is equal to, less than, or greater than another value.
CFDataSearchFlags
A CFOptionFlags type for specifying options for searching.

Statics§

kCFAllocatorDefault
This is a synonym for NULL.
kCFAllocatorMalloc
This allocator uses malloc(), realloc(), and free().
kCFAllocatorMallocZone
This allocator explicitly uses the default malloc zone, returned by malloc_default_zone().
kCFAllocatorNull
This allocator does nothing—it allocates no memory.
kCFAllocatorSystemDefault
Default system allocator.
kCFAllocatorUseContext
Special allocator argument to CFAllocatorCreate—it uses the functions given in the context to allocate the allocator.
kCFCoreFoundationVersionNumber

Traits§

CFTypeObject
Internal object of objects that belong to the Core Foundation framework

Functions§

CFCopyDescription
CFCopyTypeIDDescription
CFDataCreate
CFDataCreateCopy
CFDataCreateWithBytesNoCopy
CFDataFind
CFDataGetBytePtr
CFDataGetBytes
CFDataGetLength
CFDataGetTypeID
CFEqual
CFGetAllocator
CFGetRetainCount
CFGetTypeID
CFHash
CFMakeCollectable
CFRelease
CFRetain
CFShow
CFShowStr
CFStringCompare
CFStringCompareWithOptions
CFStringCompareWithOptionsAndLocale
CFStringConvertEncodingToIANACharSetName
CFStringConvertEncodingToNSStringEncoding
CFStringConvertEncodingToWindowsCodepage
CFStringConvertIANACharSetNameToEncoding
CFStringConvertNSStringEncodingToEncoding
CFStringConvertWindowsCodepageToEncoding
CFStringCreateArrayBySeparatingStrings
CFStringCreateArrayWithFindResults
CFStringCreateByCombiningStrings
CFStringCreateCopy
CFStringCreateExternalRepresentation
CFStringCreateFromExternalRepresentation
CFStringCreateWithBytes
CFStringCreateWithBytesNoCopy
CFStringCreateWithCString
CFStringCreateWithCStringNoCopy
CFStringCreateWithCharacters
CFStringCreateWithCharactersNoCopy
CFStringCreateWithFileSystemRepresentation
CFStringCreateWithFormat
CFStringCreateWithFormatAndArguments
CFStringCreateWithPascalString
CFStringCreateWithPascalStringNoCopy
CFStringCreateWithSubstring
CFStringFind
CFStringFindCharacterFromSet
CFStringFindWithOptions
CFStringFindWithOptionsAndLocale
CFStringGetBytes
CFStringGetCString
CFStringGetCStringPtr
CFStringGetCharacterAtIndex
CFStringGetCharacterFromInlineBuffer
CFStringGetCharacters
CFStringGetCharactersPtr
CFStringGetDoubleValue
CFStringGetFastestEncoding
CFStringGetFileSystemRepresentation
CFStringGetHyphenationLocationBeforeIndex
CFStringGetIntValue
CFStringGetLength
CFStringGetLineBounds
CFStringGetListOfAvailableEncodings
CFStringGetLongCharacterForSurrogatePair
CFStringGetMaximumSizeForEncoding
CFStringGetMaximumSizeOfFileSystemRepresentation
CFStringGetMostCompatibleMacStringEncoding
CFStringGetNameOfEncoding
CFStringGetParagraphBounds
CFStringGetPascalString
CFStringGetPascalStringPtr
CFStringGetRangeOfComposedCharactersAtIndex
CFStringGetSmallestEncoding
CFStringGetSurrogatePairForLongCharacter
CFStringGetSystemEncoding
CFStringGetTypeID
CFStringHasPrefix
CFStringHasSuffix
CFStringInitInlineBuffer
CFStringIsEncodingAvailable
CFStringIsHyphenationAvailableForLocale
CFStringIsSurrogateHighCharacter
CFStringIsSurrogateLowCharacter

Type Aliases§

CFAllocatorAllocateCallBack
A prototype for a function callback that allocates memory of a requested size.
CFAllocatorCopyDescriptionCallBack
A prototype for a function callback that provides a description of the specified data.
CFAllocatorDeallocateCallBack
A prototype for a function callback that deallocates a block of memory.
CFAllocatorPreferredSizeCallBack
A prototype for a function callback that gives the size of memory likely to be allocated, given a certain request.
CFAllocatorReallocateCallBack
A prototype for a function callback that reallocates memory of a requested size for an existing block of memory.
CFAllocatorRef
A reference to a CFAllocator object.
CFAllocatorReleaseCallBack
A prototype for a function callback that releases the given data.
CFAllocatorRetainCallBack
A prototype for a function callback that retains the given data.
CFArrayRef
A reference to a CFString object.
CFCharacterSetRef
A reference to a CFString object.
CFComparatorFunction
CFDataRef
This provides support for data objects, object-oriented wrappers for byte buffer
CFDictionaryRef
A reference to a CFString object.
CFHashCode
A type for hash codes returned by the CFHash function.
CFIndex
Priority values used for kAXPriorityKey
CFLocaleRef
A reference to a CFString object.
CFOptionFlags
A bitfield used for passing special allocation and other requests into Core Foundation functions.
CFStringEncoding
An integer type for constants used to specify supported string encodings in various CFString functions.
CFStringRef
A reference to a CFString object.
CFTypeID
A type for unique, constant integer values that identify particular Core Foundation opaque types.
CFTypeRef
An untyped “generic” reference to any Core Foundation object.
ConstStr255Param
For function parameters only - means string is const.
StringPtr
Pointer to a pascal string.
UTF32Char
A complete Unicode character in UTF-32 format, with values from 0 through 0x10FFFF (excluding the surrogate range 0xD800-0xDFFF and certain disallowed values).