class
TBitArray
- Module
- Core
- Header
#include "Core/TBitArray.h"- Namespace
Mowo
Constructors
| Signature | Name | Description |
|---|---|---|
TBitArray() = default | TBitArray | |
explicit TBitArray(size_t bitCount, bool initial = false) | TBitArray |
Public functions
| Returns | Name | Description |
|---|---|---|
void | Resize | |
size_t | Num | |
bool | IsEmpty | |
bool | IsValidIndex | |
void | Set | |
bool | Get | |
void | SetAll | |
size_t | CountSetBits | |
const std::vector<uint64_t>& | Words | Raw word view for bulk bitwise ops. |
std::vector<uint64_t>& | WordsMutable |
Function details
TBitArray
C++
TBitArray() = defaultTBitArray
C++
explicit TBitArray(size_t bitCount, bool initial = false)Resize
C++
void Resize(size_t bitCount, bool initial = false)Num
C++
size_t Num() const noexceptIsEmpty
C++
bool IsEmpty() const noexceptIsValidIndex
C++
bool IsValidIndex(size_t i) const noexceptSet
C++
void Set(size_t i, bool value)Get
C++
bool Get(size_t i) constSetAll
C++
void SetAll(bool value)CountSetBits
C++
size_t CountSetBits() const noexceptWords
C++
const std::vector<uint64_t>& Words() const noexceptRaw word view for bulk bitwise ops. Word count = (Num + 63) / 64.
WordsMutable
C++
std::vector<uint64_t>& WordsMutable() noexceptGenerated from Core/TBitArray.h via core.json · Nov 5, 2026Version 1.0.0