ADC Home > Reference Library > Reference > Darwin > Kernel Framework Reference

 


OSBoolean.h

Includes:

Overview

This header contains the class definition of the OSBoolean class, which is the container class for Boolean values.



Classes

OSBoolean

Container class for Boolean values.



Constants


kOSBooleanFalse


The OSBoolean constant for "false".

extern OSBoolean * const & kOSBooleanFalse;  
Discussion

The OSBoolean constant for "false". The object does not need to be retained or released. Comparisons of the form (booleanObject == kOSBooleanFalse) are acceptable and would be equivalent to (booleanObject->getValue() == false).


kOSBooleanTrue


The OSBoolean constant for "true".

extern OSBoolean * const & kOSBooleanTrue;  
Discussion

The OSBoolean constant for "true". The object does not need to be retained or released. Comparisons of the form (booleanObject == kOSBooleanTrue) are acceptable and would be equivalent to (booleanObject->getValue() == true).


Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.

 

Last Updated: 2008-12-19