CFBoolean Reference
| Derived from | |
| Framework | CoreFoundation/CoreFoundation.h |
| Companion guide | |
| Declared in | CFNumber.h |
Overview
CFBoolean objects are used to wrap boolean values for use in Core Foundation property lists and collection types.
Functions
CFBooleanGetTypeID
Returns the Core Foundation type identifier for the CFBoolean opaque type.
CFTypeID CFBooleanGetTypeID ( void );
Return Value
The Core Foundation type identifier for CFBoolean opaque type.
Availability
- Available in iOS 2.0 and later.
Declared In
CFNumber.hCFBooleanGetValue
Returns the value of a CFBoolean object as a standard C type Boolean.
Boolean CFBooleanGetValue ( CFBooleanRef boolean );
Parameters
- boolean
The boolean to examine.
Return Value
The value of boolean.
Availability
- Available in iOS 2.0 and later.
Declared In
CFNumber.hData Types
CFBooleanRef
A reference to a CFBoolean object.
typedef const struct __CFBoolean *CFBooleanRef;
Discussion
CFBoolean objects are used to wrap boolean values for use in Core Foundation property lists and collection types.
Availability
- Available in iOS 2.0 and later.
Declared In
CFNumber.hConstants
Boolean Values
CFBoolean evaluates to either true or false values where kCFBooleanTrue is the true, and kCFBooleanFalse is the false value.
const CFBooleanRef kCFBooleanTrue; const CFBooleanRef kCFBooleanFalse;
Constants
kCFBooleanTrueBoolean true value.
Available in iOS 2.0 and later.
Declared in
CFNumber.h.kCFBooleanFalseBoolean false value.
Available in iOS 2.0 and later.
Declared in
CFNumber.h.
© 2003, 2005 Apple Computer, Inc. All Rights Reserved. (Last updated: 2005-12-06)