ADC Home > Reference Library > Reference > Darwin > Kernel Framework Reference
|
OSBoolean |
Inherits from: | |
Declared In: |
Container class for Boolean values.
Obtains the value of the OSBoolean object as the standard C++ type bool.
Tests the equality of two OSBoolean objects.
Tests the equality between an arbitrary OSObject-derived object and an OSBoolean object.
Tests if the Boolean object is false.
A member function to test if the Boolean object is true.
Archives the receiver.
getValue |
Obtains the value of the OSBoolean object as the standard C++ type bool.
public
virtual bool getValue() const;
The value of the OSBoolean object.
isEqualTo(const OSBoolean *) |
Tests the equality of two OSBoolean objects.
public
virtual bool isEqualTo( const OSBoolean *boolean) const;
boolean
An OSBoolean object to be compared against the receiver.
Returns true if the two objects are equivalent.
isEqualTo(const OSMetaClassBase *) |
Tests the equality between an arbitrary OSObject-derived object and an OSBoolean object.
public
virtual bool isEqualTo( const OSMetaClassBase *obj) const;
obj
An OSObject-derived object to be compared against the receiver.
Returns true if the two objects are equivalent.
isFalse |
Tests if the Boolean object is false.
public
virtual bool isFalse() const;
Returns true if the OSBoolean object is false, false otherwise.
isTrue |
A member function to test if the Boolean object is true.
public
virtual bool isTrue() const;
Returns true if the OSBoolean object is true, false otherwise.
serialize |
Archives the receiver.
public
virtual bool serialize( OSSerialize *s) const;
s
The OSSerialize object.
Returns true if serialization was successful, false if not.
|
Last Updated: 2008-12-19