OSBoolean
OSBoolean wraps a boolean value in a C++ object for use in Libkern collections.
Declaration
class OSBoolean : OSObjectOverview
OSBoolean represents a boolean true/false value as a Libkern C++ object. There are only two instances of OSBoolean, kOSBooleanTrue and kOSBooleanFalse. These are shared globally and returned by the instance-creation function withBoolean. Thus, you can use pointer comparison to test whether two OSBoolean objects are equal.
Topics
Miscellaneous
freegetValueisEqualTo(const OSBoolean *)isEqualTo(const OSMetaClassBase *)isFalseisTrueserializetaggedReleasetaggedRetainwithBoolean