Scanframe Modular Application 0.1.0
|
Template for creating large memory inexpensive bitmasks or bit sets. More...
#include <TBitSet.h>
Public Member Functions | |
TBitSet () | |
Default constructor. | |
bool | has (int bit) |
Tests if a bit has been Set. | |
void | set (int bit) |
Sets a single bit. | |
void | reset (int bit) |
Resets a single bit. | |
void | clear () |
Clears all bits. | |
bool | isClear () |
Returns true if one of the bits has been Set. | |
Template for creating large memory inexpensive bitmasks or bit sets.
_size | Amount of bits needed. |
|
inline |
Default constructor.
|
inline |
Clears all bits.
|
inline |
Tests if a bit has been Set.
bool sf::TBitSet< Size >::isClear | ( | ) |
Returns true if one of the bits has been Set.
|
inline |
Resets a single bit.
|
inline |
Sets a single bit.