QtBase  v6.3.1
Public Member Functions | Friends | List of all members
QBitRef Class Reference

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

#include <qbitarray.h>

Public Member Functions

 operator bool () const
 
bool operator! () const
 
QBitRefoperator= (const QBitRef &val)
 
QBitRefoperator= (bool val)
 

Friends

class QBitArray
 [3] More...
 

Detailed Description

The QBitRef class is an internal class, used with QBitArray.

\inmodule QtCore \reentrant

Definition at line 143 of file qbitarray.h.

Member Function Documentation

◆ operator bool()

QBitRef::operator bool ( ) const
inline

Returns the value referenced by the QBitRef.

Definition at line 152 of file qbitarray.h.

Here is the call graph for this function:

◆ operator!()

bool QBitRef::operator! ( ) const
inline

Definition at line 153 of file qbitarray.h.

◆ operator=() [1/2]

QBitRef & QBitRef::operator= ( bool  v)
inline

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Sets the value referenced by the QBitRef to v.

Definition at line 155 of file qbitarray.h.

◆ operator=() [2/2]

QBitRef & QBitRef::operator= ( const QBitRef v)
inline

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

Definition at line 154 of file qbitarray.h.

Friends And Related Function Documentation

◆ QBitArray

friend class QBitArray
friend

[3]

[4]

[5]

Definition at line 149 of file qbitarray.h.


The documentation for this class was generated from the following files: