tesseract  v4.0.0-17-g361f3264
Open Source OCR Engine
BITS16 Class Reference

#include <bits16.h>

Public Member Functions

 BITS16 ()
 
 BITS16 (uint16_t init)
 
void turn_on_bit (uint8_t bit_num)
 
void turn_off_bit (uint8_t bit_num)
 
void set_bit (uint8_t bit_num, bool value)
 
bool bit (uint8_t bit_num) const
 

Public Attributes

uint16_t val
 

Constructor & Destructor Documentation

◆ BITS16() [1/2]

BITS16::BITS16 ( )
inline

◆ BITS16() [2/2]

BITS16::BITS16 ( uint16_t  init)
inline

Member Function Documentation

◆ bit()

bool BITS16::bit ( uint8_t  bit_num) const
inline

◆ set_bit()

void BITS16::set_bit ( uint8_t  bit_num,
bool  value 
)
inline

◆ turn_off_bit()

void BITS16::turn_off_bit ( uint8_t  bit_num)
inline

◆ turn_on_bit()

void BITS16::turn_on_bit ( uint8_t  bit_num)
inline

Member Data Documentation

◆ val

uint16_t BITS16::val

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