QBitRef Class Reference

QBitRef Class Reference

#include <qbitarray.h>

Class Description

Definition at line 148 of file qbitarray.h.

Public Member Functions

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

Friends

class QBitArray
 

Member Function Documentation

operator bool ( ) const
inline

Definition at line 156 of file qbitarray.h.

156 { return a.testBit(i); }
GLubyte GLubyte GLubyte a
Definition: GLee.h:5404
bool operator! ( void  ) const
inline

Definition at line 157 of file qbitarray.h.

157 { return !a.testBit(i); }
GLubyte GLubyte GLubyte a
Definition: GLee.h:5404
QBitRef& operator= ( const QBitRef val)
inline

Definition at line 158 of file qbitarray.h.

158 { a.setBit(i, val); return *this; }
GLubyte GLubyte GLubyte a
Definition: GLee.h:5404
QBitRef& operator= ( bool  val)
inline

Definition at line 159 of file qbitarray.h.

159 { a.setBit(i, val); return *this; }
GLubyte GLubyte GLubyte a
Definition: GLee.h:5404

Friends And Related Function Documentation

friend class QBitArray
friend

Definition at line 154 of file qbitarray.h.


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