nlib
|
The data structure holding bit data operated on by Rank
and Select
.
More...
#include "nn/nlib/SmartBitmap.h"
Additional Inherited Members | |
![]() | |
unsigned int | GetBitVectorSize () const noexcept |
Returns the size of the bit data. More... | |
const BIT * | GetBitVector () const noexcept |
Returns the pointer to the bit data. More... | |
bool | Has (unsigned int idx) const noexcept |
Tests to determine whether a particular value is contained in the set. More... | |
bool | operator[] (const unsigned int idx) const noexcept |
Tests to determine whether a particular value is contained in the set. More... | |
unsigned int | Rank1 (unsigned int idx) const noexcept |
Performs a Rank operation. More... | |
unsigned int | Rank0 (unsigned int idx) const noexcept |
Performs a Rank operation. More... | |
int | Select1 (unsigned int nth) const noexcept |
Returns the position of the nth 1 bit. nth starts from 0. More... | |
int | Select0 (unsigned int nth) const noexcept |
Returns the position of the nth 0 bit. nth starts from 0. More... | |
bool | Set (unsigned int idx) noexcept |
Adds a 32-bit unsigned integer to the set. More... | |
bool | Set (unsigned int idx, bool value) noexcept |
Sets bits in the bit data. More... | |
bool | TurnOn (unsigned int idx) noexcept |
Adds a 32-bit unsigned integer to the set. More... | |
bool | Unset (unsigned int idx) noexcept |
Removes a 32-bit unsigned integer from the set. More... | |
void | Reset () noexcept |
Returns the object to the state immediately after the constructor is called. | |
The data structure holding bit data operated on by Rank
and Select
.
N | The size of the bit data (N bits). |
Definition at line 161 of file SmartBitmap.h.
© 2012-2017 Nintendo Co., Ltd. All rights reserved.