Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QV4::BitVector Class Reference

#include <qv4util_p.h>

Collaboration diagram for QV4::BitVector:

Public Member Functions

 BitVector (int size=0, bool value=false)
void clear ()
void reserve (int size)
int size () const
void resize (int newSize)
void resize (int newSize, bool newValue)
void assign (int newSize, bool value)
int findNext (int start, bool value, bool wrapAround) const
bool at (int idx) const
void setBit (int idx)
void clearBit (int idx)

Detailed Description

Definition at line 30 of file qv4util_p.h.

Constructor & Destructor Documentation

◆ BitVector()

QV4::BitVector::BitVector ( int size = 0,
bool value = false )
inline

Definition at line 35 of file qv4util_p.h.

References BitVector().

Referenced by BitVector().

Here is the call graph for this function:
Here is the caller graph for this function:

Member Function Documentation

◆ assign()

void QV4::BitVector::assign ( int newSize,
bool value )
inline

Definition at line 57 of file qv4util_p.h.

◆ at()

bool QV4::BitVector::at ( int idx) const
inline

Definition at line 86 of file qv4util_p.h.

◆ clear()

void QV4::BitVector::clear ( )
inline

Definition at line 39 of file qv4util_p.h.

◆ clearBit()

void QV4::BitVector::clearBit ( int idx)
inline

Definition at line 92 of file qv4util_p.h.

◆ findNext()

int QV4::BitVector::findNext ( int start,
bool value,
bool wrapAround ) const
inline

Definition at line 60 of file qv4util_p.h.

References size().

Here is the call graph for this function:

◆ reserve()

void QV4::BitVector::reserve ( int size)
inline

Definition at line 42 of file qv4util_p.h.

◆ resize() [1/2]

void QV4::BitVector::resize ( int newSize)
inline

Definition at line 51 of file qv4util_p.h.

◆ resize() [2/2]

void QV4::BitVector::resize ( int newSize,
bool newValue )
inline

Definition at line 54 of file qv4util_p.h.

◆ setBit()

void QV4::BitVector::setBit ( int idx)
inline

Definition at line 89 of file qv4util_p.h.

◆ size()

int QV4::BitVector::size ( ) const
inline

Definition at line 45 of file qv4util_p.h.

Referenced by findNext().

Here is the caller graph for this function:

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