COSA
An Object-Oriented Platform for Arduino Programming
|
#include <BitSet.hh>
Public Member Functions | |
BitSet () | |
uint16_t | members () const |
const uint8_t * | bits () const |
void | empty () |
bool | is_empty () const |
bool | operator[] (uint16_t ix) const |
void | operator+= (uint16_t ix) |
void | operator-= (uint16_t ix) |
void | operator= (BitSet &rhs) |
void | operator+= (BitSet &rhs) |
void | operator-= (BitSet &rhs) |
bool | operator== (BitSet &rhs) |
Friends | |
IOStream & | operator<< (IOStream &outs, BitSet &rhs) |
Bitset implemented as a template class with a byte vector for the elements as bits.
[in] | N | max number of elements in bitset. |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |