Bit vectors are an efficent method of keeping True/False information on a set of items or conditions.
More...
#include <avmplus.h>
List of all members.
Detailed Description
Bit vectors are an efficent method of keeping True/False information on a set of items or conditions.
Class BitSet provides functions to manipulate individual bits in the vector.
Since most vectors are rather small an array of longs is used by default to house the value of the bits. If more bits are needed then an array is allocated dynamically outside of this object.
This object is not optimized for a fixed sized bit vector it instead allows for dynamically growing the bit vector.
Member Enumeration Documentation
Constructor & Destructor Documentation
| avmplus::BitSet::BitSet |
( |
|
) |
[inline] |
| avmplus::BitSet::~BitSet |
( |
|
) |
[inline] |
Member Function Documentation
| void avmplus::BitSet::clear |
( |
int |
bitNbr |
) |
[inline] |
| bool avmplus::BitSet::get |
( |
int |
bitNbr |
) |
const [inline] |
| void avmplus::BitSet::reset |
( |
|
) |
[inline] |
| void avmplus::BitSet::set |
( |
int |
bitNbr |
) |
[inline] |
Member Data Documentation
The documentation for this class was generated from the following file: