Mac Developer Library

Developer

OSBoolean.h Reference

Options
Deployment Target:

On This Page

OSBoolean.h Reference

This header declares the OSBoolean container class.

Included Headers

  • <libkern/c++/OSObject.h>

Constants

See the Overview section above for header-level documentation.

  • Declaration

    extern OSBoolean * const & kOSBooleanFalse; extern OSBoolean * const & kOSBooleanTrue;

    Constants

    • kOSBooleanFalse

      kOSBooleanFalse is the OSBoolean constant for false. This object does not need to be retained or released (but it can be). Comparisons of the form booleanObject == kOSBooleanFalse are acceptable and are equivalent to booleanObject->getValue() == false.

    • kOSBooleanTrue

      kOSBooleanTrue is the OSBoolean constant for true. This object does not need to be retained or released (but it can be). Comparisons of the form booleanObject == kOSBooleanTrue are acceptable and are equivalent to booleanObject->getValue() == true.