QBitRef Class
The QBitRef class is an internal class, used with QBitArray. More...
Header: | #include <QBitRef> |
Public Functions
bool | operator bool() const |
bool | operator!() const |
QBitRef & | operator=(const QBitRef &v) |
QBitRef & | operator=(bool v) |
Detailed Description
\inmodule
QtCore \reentrant
\internal
The QBitRef is required by the indexing [] operator on bit arrays. It is not for use in any other context.
Member Function Documentation
bool QBitRef::operator bool() const
Returns the value referenced by the QBitRef.
bool QBitRef::operator!() const
\internal
QBitRef &QBitRef::operator=(const QBitRef &v)
Sets the value referenced by the QBitRef to that referenced by QBitRef v.
QBitRef &QBitRef::operator=(bool v)
This is an overloaded function.
Sets the value referenced by the QBitRef to v.