QBitArray

#include <QtCore/QBitArray>

More information will be added here shortly. For now, you'll find more extensive information about this class in the Qt reference for QBitArray


Overview

Public Types Index

QByteArray::DataPtrDataPtr

Public Functions Index

QBitArray ()
QBitArray (int size, bool val=false)
QBitArray (const QBitArray &other)
boolat (int i) const
voidclear ()
voidclearBit (int i)
intcount () const
intcount (bool on) const
DataPtr &data_ptr ()
voiddetach ()
boolfill (bool val, int size=-1)
voidfill (bool val, int first, int last)
boolisDetached () const
boolisEmpty () const
boolisNull () const
booloperator!= (const QBitArray &a) const
QBitArray &operator&= (const QBitArray &)
QBitArray &operator= (const QBitArray &other)
booloperator== (const QBitArray &a) const
QBitRefoperator[] (int i)
booloperator[] (int i) const
QBitRefoperator[] (uint i)
booloperator[] (uint i) const
QBitArray &operator^= (const QBitArray &)
QBitArray &operator|= (const QBitArray &)
QBitArrayoperator~ () const
voidresize (int size)
voidsetBit (int i)
voidsetBit (int i, bool val)
intsize () const
voidswap (QBitArray &other)
booltestBit (int i) const
booltoggleBit (int i)
voidtruncate (int pos)

Public Types

typedef QByteArray::DataPtr DataPtr

Public Functions

QBitArray ()

QBitArray (
  • intsize,
  • boolval )

QBitArray (

bool at (
  • inti)

void clear ()

void clearBit (
  • inti)

int count ()

int count (
  • boolon)

DataPtr & data_ptr ()

void detach ()

bool fill (
  • boolval,
  • intsize )

void fill (
  • boolval,
  • intfirst,
  • intlast )

bool isDetached ()

bool isEmpty ()

bool isNull ()

bool operator!= (

QBitArray & operator&= (

QBitArray & operator= (

bool operator== (

QBitRef operator[] (
  • inti)

bool operator[] (
  • inti)

QBitRef operator[] (
  • uinti)

bool operator[] (
  • uinti)

QBitArray & operator^= (

QBitArray & operator|= (

QBitArray operator~ ()

void resize (
  • intsize)

void setBit (
  • inti)

void setBit (
  • inti,
  • boolval )

int size ()

void swap (

bool testBit (
  • inti)

bool toggleBit (
  • inti)

void truncate (
  • intpos)

Last modified: 2015-07-24



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus