#include <misc.hh>
Public Member Functions | |
| BitSet (int initBits) | |
| ~BitSet () | |
| void | intoStringBuffer (misc::StringBuffer *sb) |
| bool | get (int i) |
| void | set (int i, bool val) |
| void | clear () |
Private Member Functions | |
| int | bytesForBits (int bits) |
Private Attributes | |
| unsigned char * | bits |
| int | numBytes |
| lout::misc::BitSet::BitSet | ( | int | initBits | ) |
References bits, bytesForBits(), clear(), and numBytes.
| lout::misc::BitSet::~BitSet | ( | ) |
References bits.
| int lout::misc::BitSet::bytesForBits | ( | int | bits | ) | [inline, private] |
Referenced by BitSet().
| void lout::misc::BitSet::clear | ( | ) |
| bool lout::misc::BitSet::get | ( | int | i | ) |
References bits, and numBytes.
Referenced by dw::fltk::FltkImgbuf::init(), and dw::fltk::FltkImgbuf::scaleRow().
| void lout::misc::BitSet::intoStringBuffer | ( | misc::StringBuffer * | sb | ) |
References lout::misc::StringBuffer::append(), and numBytes.
| void lout::misc::BitSet::set | ( | int | i, | |
| bool | val | |||
| ) |
References bits, and numBytes.
Referenced by dw::fltk::FltkImgbuf::copyRow(), and dw::fltk::FltkImgbuf::scaleRow().
unsigned char* lout::misc::BitSet::bits [private] |
int lout::misc::BitSet::numBytes [private] |
Referenced by BitSet(), clear(), get(), intoStringBuffer(), and set().
1.5.9