librime: Darts::Details::BitVector Class Reference

| librime 1.2 Rime Input Method Engine, the core library

Public Member Functions | List of all members
Darts::Details::BitVector Class Reference

`#include <darts.h>`

## Public Member Functions
| BitVector ()
| ~BitVector ()
bool | operator[] (std::size_t id) const
id_type | rank (std::size_t id) const
void | set (std::size_t id, bool bit)
bool | empty () const
std::size_t | num_ones () const
std::size_t | size () const
void | append ()
void | build ()
void | clear ()

## Constructor & Destructor Documentation

## ◆ BitVector()

Darts::Details::BitVector::BitVector | ( |  | ) |
| inline

## ◆ ~BitVector()

Darts::Details::BitVector::~BitVector | ( |  | ) |
| inline

## Member Function Documentation

## ◆ append()

void Darts::Details::BitVector::append | ( |  | ) |
| inline

## ◆ build()

void Darts::Details::BitVector::build | ( |  | ) |
| inline

## ◆ clear()

void Darts::Details::BitVector::clear | ( |  | ) |
| inline

## ◆ empty()

bool Darts::Details::BitVector::empty | ( |  | ) | const
| inline

## ◆ num_ones()

std::size_t Darts::Details::BitVector::num_ones | ( |  | ) | const
| inline

## ◆ operator[]()

bool Darts::Details::BitVector::operator[] | ( | std::size_t | id | ) | const
| inline

## ◆ rank()

id_type Darts::Details::BitVector::rank | ( | std::size_t | id | ) | const
| inline

## ◆ set()

void Darts::Details::BitVector::set | ( | std::size_t | id,
|  | bool | bit )
| inline

## ◆ size()

std::size_t Darts::Details::BitVector::size | ( |  | ) | const
| inline

The documentation for this class was generated from the following file:

- darts.h