QBitVal3qt
Internal class, used with qbitarray
Usage
All the functions in this class are reentrant when Qt is built with thread support.</p>
#include <qbitarray.h>
Public Members
QBitVal ( QBitArray * a, uint i )
operator int ()
QBitVal & operator= ( const QBitVal & v )
QBitVal & operator= ( bool v )
Overview
The QBitVal class is an internal class, used with QBitArray.
The QBitVal is required by the indexing [] operator on bit arrays. It is not for use in any other context.
See also Collection Classes.
Member function documentation
QBitVal::QBitVal ( QBitArray * a, uint i )
Constructs a reference to element i in the QBitArray a. This is what QBitArray::operator[] constructs its return value with.
QBitVal::operator int ()
Returns the value referenced by the QBitVal.
QBitVal & QBitVal::operator= ( const QBitVal & v )
Sets the value referenced by the QBitVal to that referenced by QBitVal v.
QBitVal & QBitVal::operator= ( bool v )
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
Sets the value referenced by the QBitVal to v.
Releases
6 releases since Debian 2.2 (Potato); the text changed 4 times.