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

    Objective-C

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

    Constants

    • kOSBooleanFalse

      kOSBooleanFalse

      The OSBoolean constant for false.

      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.

      Available in OS X v10.0 and later.

    • kOSBooleanTrue

      kOSBooleanTrue

      The OSBoolean constant for true.

      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.

      Available in OS X v10.0 and later.

    Import Statement