Public Member Functions | Friends

QBitRef Class Reference

Search for all occurrences

Detailed Description

Definition at line 142 of file qbitarray.h.

#include <qbitarray.h>

List of all members.

Public Member Functions

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

Friends

class  QBitArray

Member Function Documentation

operator bool ( void  ) const [inline]

Definition at line 150 of file qbitarray.h.

{ return a.testBit(i); }
bool operator! ( void  ) const [inline]

Definition at line 151 of file qbitarray.h.

{ return !a.testBit(i); }
QBitRef& operator= ( const QBitRef val ) [inline]

Definition at line 152 of file qbitarray.h.

{ a.setBit(i, val); return *this; }
QBitRef& operator= ( bool  val ) [inline]

Definition at line 153 of file qbitarray.h.

{ a.setBit(i, val); return *this; }

Friends And Related Function Documentation

friend class QBitArray [friend]

Definition at line 148 of file qbitarray.h.


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

QBitRef QBitRef QBitRef QBitRef QBitRef QBitRef QBitRef QBitRef QBitRef QBitRef
QBitRef QBitRef QBitRef QBitRef QBitRef QBitRef QBitRef QBitRef QBitRef QBitRef