TAO_Notify::Bit_Vector Class Reference
Simple bit vector.
More...
#include <Bit_Vector.h>
List of all members.
Detailed Description
Simple bit vector.
Written to support block allocation from persistent storage. Should be promoted to the ACE level to make it generally usable.
Member Typedef Documentation
Member Enumeration Documentation
Constructor & Destructor Documentation
TAO_Notify::Bit_Vector::Bit_Vector |
( |
|
) |
|
TAO_Notify::Bit_Vector::~Bit_Vector |
( |
|
) |
|
Member Function Documentation
void TAO_Notify::Bit_Vector::evaluate_firsts |
( |
const size_t |
location, |
|
|
bool |
set | |
|
) |
| | [private] |
Update our first set and unset bits.
size_t TAO_Notify::Bit_Vector::find_first_bit |
( |
bool |
set |
) |
const |
Find the first bit that is either set or unset in an O(1).
size_t TAO_Notify::Bit_Vector::find_first_bit_of |
( |
const size_t |
location, |
|
|
bool |
set | |
|
) |
| | [private] |
Iterate from location to the end, finding the first bit that matches the requested set or unset value.
bool TAO_Notify::Bit_Vector::is_set |
( |
const size_t |
location |
) |
const |
Determine if a bit at location is set.
void TAO_Notify::Bit_Vector::set_bit |
( |
const size_t |
location, |
|
|
bool |
set | |
|
) |
| | |
Set or unset a bit at location, growing the vector as needed.
Member Data Documentation
The documentation for this class was generated from the following files: