![]() |
Project
|
#include <BitSet.h>
Public Member Functions | |
BitSet () | |
BitSet (std::string_view s) | |
bool | operator== (const BitSet &rhs) const |
bool | operator!= (const BitSet &rhs) const |
bool | any () const |
int | append (bool val) |
int | count () const |
void | clear () |
bool | isEmpty () const |
void | set (int pos, bool val) |
bool | get (int pos) const |
bool | grow (int n) |
BitSet | last (int n) const |
int | size () const |
int | len () const |
int | maxlen () const |
void | pruneFirst (int n) |
void | setFast (int pos, bool val) |
void | setFromBytes (gsl::span< uint8_t > bytes) |
void | setRangeFromString (int a, int b, std::string_view s) |
std::string | stringLSBLeft () const |
std::string | stringLSBRight () const |
BitSet | subset (int a, int b) const |
uint8_t | uint8 (int a, int b) const |
uint16_t | uint16 (int a, int b) const |
uint32_t | uint32 (int a, int b) const |
uint64_t | uint64 (int a, int b) const |
BitSet (uint8_t v, int n=-1) | |
BitSet (uint16_t v, int n=-1) | |
BitSet (uint32_t v, int n=-1) | |
BitSet (uint64_t v, int n=-1) | |
int | append (uint8_t val, int n=-1) |
int | append (uint16_t val, int n=-1) |
int | append (uint32_t val, int n=-1) |
int | append (uint64_t val, int n=-1) |
void | setRangeFromUint (int a, int b, uint8_t v) |
void | setRangeFromUint (int a, int b, uint16_t v) |
void | setRangeFromUint (int a, int b, uint32_t v) |
void | setRangeFromUint (int a, int b, uint64_t v) |
Static Public Member Functions | |
static int | maxSize () |
o2::mch::raw::BitSet::BitSet | ( | ) |
Definition at line 109 of file BitSet.cxx.
|
explicit |
Definition at line 149 of file BitSet.cxx.
|
explicit |
Definition at line 113 of file BitSet.cxx.
|
explicit |
Definition at line 122 of file BitSet.cxx.
|
explicit |
Definition at line 131 of file BitSet.cxx.
|
explicit |
Definition at line 140 of file BitSet.cxx.
bool o2::mch::raw::BitSet::any | ( | ) | const |
Definition at line 198 of file BitSet.cxx.
int o2::mch::raw::BitSet::append | ( | bool | val | ) |
Definition at line 172 of file BitSet.cxx.
Definition at line 183 of file BitSet.cxx.
Definition at line 188 of file BitSet.cxx.
Definition at line 193 of file BitSet.cxx.
Definition at line 178 of file BitSet.cxx.
void o2::mch::raw::BitSet::clear | ( | ) |
Definition at line 208 of file BitSet.cxx.
int o2::mch::raw::BitSet::count | ( | ) | const |
Definition at line 214 of file BitSet.cxx.
bool o2::mch::raw::BitSet::get | ( | int | pos | ) | const |
Definition at line 225 of file BitSet.cxx.
bool o2::mch::raw::BitSet::grow | ( | int | n | ) |
Definition at line 234 of file BitSet.cxx.
Definition at line 254 of file BitSet.cxx.
bool o2::mch::raw::BitSet::operator!= | ( | const BitSet & | rhs | ) | const |
Definition at line 167 of file BitSet.cxx.
bool o2::mch::raw::BitSet::operator== | ( | const BitSet & | rhs | ) | const |
Definition at line 154 of file BitSet.cxx.
Definition at line 266 of file BitSet.cxx.
Definition at line 277 of file BitSet.cxx.
Definition at line 288 of file BitSet.cxx.
void o2::mch::raw::BitSet::setFromBytes | ( | gsl::span< uint8_t > | bytes | ) |
Definition at line 307 of file BitSet.cxx.
Definition at line 320 of file BitSet.cxx.
Definition at line 342 of file BitSet.cxx.
Definition at line 347 of file BitSet.cxx.
Definition at line 352 of file BitSet.cxx.
Definition at line 337 of file BitSet.cxx.
std::string o2::mch::raw::BitSet::stringLSBLeft | ( | ) | const |
Definition at line 357 of file BitSet.cxx.
std::string o2::mch::raw::BitSet::stringLSBRight | ( | ) | const |
Definition at line 370 of file BitSet.cxx.
Definition at line 383 of file BitSet.cxx.
Definition at line 402 of file BitSet.cxx.
Definition at line 407 of file BitSet.cxx.
Definition at line 412 of file BitSet.cxx.
Definition at line 397 of file BitSet.cxx.