|
AGX Dynamics
2.37.3.2
|
Class for stack-storage of a (at compile time) specified number of bits with a minimal size of storage. More...
#include <BitArray.h>
Classes | |
| class | const_reference |
| Class which is a reference into an existing bitarray. More... | |
| class | reference |
| Class which is a reference into an existing bitarray. More... | |
Public Member Functions | |
| BitArray () | |
| Constructor, initializes all bits to zero. More... | |
| ~BitArray () | |
| Destructor. More... | |
| bool | get (size_t n) const |
| reference | operator[] (size_t bit) |
| const_reference | operator[] (size_t bit) const |
| void | set (size_t n, bool flag) |
Set the n:th bit in the bitarray to flag. More... | |
| size_t | size () const |
| size_t | sizeOf () const |
Protected Member Functions | |
| BitArray (const BitArray &) | |
| BitArray & | operator= (const BitArray &) |
Class for stack-storage of a (at compile time) specified number of bits with a minimal size of storage.
Definition at line 85 of file BitArray.h.
|
inline |
Constructor, initializes all bits to zero.
Definition at line 89 of file BitArray.h.
|
inline |
Destructor.
Definition at line 94 of file BitArray.h.
|
inlineprotected |
Definition at line 234 of file BitArray.h.
|
inline |
Definition at line 111 of file BitArray.h.
|
inlineprotected |
Definition at line 235 of file BitArray.h.
|
inline |
Definition at line 223 of file BitArray.h.
|
inline |
Definition at line 228 of file BitArray.h.
|
inline |
Set the n:th bit in the bitarray to flag.
| n | - select the n:th bit to be set |
| flag | - set the n:th bit to flag |
Definition at line 101 of file BitArray.h.
|
inline |
Definition at line 216 of file BitArray.h.
|
inline |
Definition at line 219 of file BitArray.h.