• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10.1/xnu-2782.1.97/libkern/libkern/c++/

Lines Matching defs:OSBoolean

28 /* OSBoolean.cpp created by rsulack on Tue Oct 12 1999 */
41 * This header declares the OSBoolean container class.
46 * @class OSBoolean
49 * OSBoolean wraps a boolean value in a C++ object
53 * OSBoolean represents a boolean <code>true</code>/<code>false</code> value
55 * There are only two instances of OSBoolean,
61 * to test whether two OSBoolean objects are equal.
63 class OSBoolean : public OSObject
65 OSDeclareDefaultStructors(OSBoolean)
92 * Returns one of the global instances of OSBoolean.
97 * The global instance of OSBoolean with the boolean <code>value</code>.
103 * so that you can always use pointer comparison with OSBoolean objects.
105 static OSBoolean * withBoolean(bool value);
134 * Checks whether the OSBoolean object
138 * <code>true</code> if the OSBoolean object is <code>true</code>,
152 * Checks whether the OSBoolean object
156 * <code>true</code> if the OSBoolean object is <code>false</code>,
170 * Returns the C++ <code>bool</code> value for the OSBoolean object.
173 * Returns the C++ <code>bool</code> value of the OSBoolean object.
182 * Tests the equality of two OSBoolean objects.
184 * @param aBoolean The OSBoolean to be compared against the receiver.
187 * <code>true</code> if the OSBoolean objects are equal,
191 * Two OSBoolean objects are considered equal
194 virtual bool isEqualTo(const OSBoolean * aBoolean) const;
201 * Tests the equality an OSBoolean to an arbitrary object.
209 * An OSBoolean is considered equal to another object
210 * if that object is derived from OSBoolean
230 OSMetaClassDeclareReservedUnused(OSBoolean, 0);
231 OSMetaClassDeclareReservedUnused(OSBoolean, 1);
232 OSMetaClassDeclareReservedUnused(OSBoolean, 2);
233 OSMetaClassDeclareReservedUnused(OSBoolean, 3);
234 OSMetaClassDeclareReservedUnused(OSBoolean, 4);
235 OSMetaClassDeclareReservedUnused(OSBoolean, 5);
236 OSMetaClassDeclareReservedUnused(OSBoolean, 6);
237 OSMetaClassDeclareReservedUnused(OSBoolean, 7);
244 * The OSBoolean constant for <code>true</code>.
247 * kOSBooleanTrue is the OSBoolean constant for <code>true</code>.
254 extern OSBoolean * const & kOSBooleanTrue;
260 * The OSBoolean constant for <code>false</code>.
263 * kOSBooleanFalse is the OSBoolean constant for <code>false</code>.
270 extern OSBoolean * const & kOSBooleanFalse;