OSBoolean.h Reference

Declared in
OSBoolean.h

Overview

This header declares the OSBoolean container class.

Included Headers

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

Constants

See the Overview section above for header-level documentation.

Global Constants

extern OSBoolean * const & kOSBooleanFalse;
extern OSBoolean * const & kOSBooleanTrue;
Constants
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.

Declared in OSBoolean.h.

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.

Declared in OSBoolean.h.