#include <UT_BitArray.h>
Definition at line 29 of file UT_BitArray.h.
UT_BitArray::UT_BitArray |
( |
| ) |
|
UT_BitArray::UT_BitArray |
( |
exint |
size | ) |
|
|
explicit |
UT_BitArray::~UT_BitArray |
( |
| ) |
|
bool UT_BitArray::allBitsClear |
( |
| ) |
const |
bool UT_BitArray::allBitsSet |
( |
| ) |
const |
void UT_BitArray::append |
( |
bool |
value | ) |
|
|
inline |
uint UT_BitArray::computeHash |
( |
| ) |
const |
void UT_BitArray::cycle |
( |
exint |
shift_offset | ) |
|
const BlockType* UT_BitArray::data |
( |
| ) |
const |
|
inline |
exint UT_BitArray::findFirstBit |
( |
| ) |
const |
Find first or last bit in the array. The functions will return -1 if no bits are set (i.e. equivalent to allBitsClear())
exint UT_BitArray::findLastBit |
( |
| ) |
const |
bool UT_BitArray::getBit |
( |
exint |
index | ) |
const |
|
inline |
bool UT_BitArray::getBitFast |
( |
exint |
index | ) |
const |
|
inline |
int64 UT_BitArray::getMemoryUsage |
( |
bool |
inclusive = true | ) |
const |
|
inline |
exint UT_BitArray::getSize |
( |
| ) |
const |
|
inline |
void UT_BitArray::insert |
( |
exint |
index, |
|
|
bool |
value |
|
) |
| |
Returns whether there are any intersections between the two arrays.
exint UT_BitArray::iterateInit |
( |
| ) |
const |
|
inline |
Iterate over set bits
eg. for (i = bits.iterateInit(); i >= 0; i = bits.iterateNext(i)) ... do something with bits(i)
Definition at line 361 of file UT_BitArray.h.
void UT_BitArray::iterateInit |
( |
exint & |
i | ) |
const |
|
inline |
Iterate over set bits
eg. for (i = bits.iterateInit(); i >= 0; i = bits.iterateNext(i)) ... do something with bits(i)
Definition at line 95 of file UT_BitArray.h.
exint UT_BitArray::iterateNext |
( |
exint |
current_bit | ) |
const |
|
inline |
Iterate over set bits
eg. for (i = bits.iterateInit(); i >= 0; i = bits.iterateNext(i)) ... do something with bits(i)
Definition at line 367 of file UT_BitArray.h.
exint UT_BitArray::numBitsClear |
( |
| ) |
const |
exint UT_BitArray::numBitsSet |
( |
| ) |
const |
bool UT_BitArray::operator() |
( |
exint |
index | ) |
const |
|
inline |
bool UT_BitArray::operator[] |
( |
exint |
index | ) |
const |
|
inline |
int UT_BitArray::save |
( |
std::ostream & |
os, |
|
|
bool |
binary = false |
|
) |
| const |
void UT_BitArray::setAllBits |
( |
bool |
value | ) |
|
bool UT_BitArray::setBit |
( |
exint |
index, |
|
|
bool |
value |
|
) |
| |
|
inline |
void UT_BitArray::setBitFast |
( |
exint |
index, |
|
|
bool |
value |
|
) |
| |
|
inline |
void UT_BitArray::toggleAllBits |
( |
| ) |
|
bool UT_BitArray::toggleBit |
( |
exint |
index | ) |
|
|
inline |
void UT_BitArray::toggleBitFast |
( |
exint |
index | ) |
|
|
inline |
The documentation for this class was generated from the following file: