Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

QBitVal Class Reference

The QBitVal class is an internal class, used with QBitArray. More...

#include </home/clem/local/src/opie/qmake/include/qbitarray.h>

Collaboration diagram for QBitVal:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 QBitVal (QBitArray *a, uint i)
 operator int ()
QBitValoperator= (const QBitVal &v)
QBitValoperator= (bool v)

Private Attributes

QBitArrayarray
uint index

Detailed Description

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.

Definition at line 52 of file qbitarray.h.


Constructor & Destructor Documentation

QBitVal::QBitVal QBitArray a,
uint  i
[inline]
 

Constructs a reference to element i in the QBitArray a. This is what QBitArray::operator[] constructs its return value with.

Definition at line 58 of file qbitarray.h.


Member Function Documentation

QBitVal::operator int  )  [inline]
 

Returns the value referenced by the QBitVal.

Definition at line 140 of file qbitarray.h.

References array, index, and QBitArray::testBit().

QBitVal & QBitVal::operator= bool  v  )  [inline]
 

Definition at line 151 of file qbitarray.h.

References array, index, and QBitArray::setBit().

QBitVal & QBitVal::operator= const QBitVal v  )  [inline]
 

Sets the value referenced by the QBitVal to that referenced by QBitVal v.

Definition at line 145 of file qbitarray.h.

References array, index, and QBitArray::setBit().


Member Data Documentation

QBitArray* QBitVal::array [private]
 

Definition at line 55 of file qbitarray.h.

Referenced by operator int(), and operator=().

uint QBitVal::index [private]
 

Definition at line 56 of file qbitarray.h.

Referenced by operator int(), and operator=().


The documentation for this class was generated from the following files:
Generated on Sat Nov 5 17:46:03 2005 for OPIE by  doxygen 1.4.2