CWB
Data Fields
BFBuf Struct Reference

The Bitfield object. More...

#include <bitfields.h>

Data Fields

int elements
 The number of bits in the bitfield. More...
 
int bytes
 The number of bytes the bitfield occupies. More...
 
int nr_bits_set
 The number of bits whose value has been assigned. More...
 
BFBaseTypefield
 the bitfield data itself. More...
 

Detailed Description

The Bitfield object.

Field Documentation

int bytes

The number of bytes the bitfield occupies.

Referenced by bf_compare(), bf_equal(), clear_all_bits(), copy_bitfield(), create_bitfield(), and set_all_bits().

int elements

The number of bits in the bitfield.

Referenced by bf_compare(), bf_equal(), copy_bitfield(), copy_intervals(), create_bitfield(), delete_intervals(), and set_all_bits().

BFBaseType* field

the bitfield data itself.

All elements initialised to 0.

Referenced by bf_compare(), bf_equal(), clear_all_bits(), clear_bit(), copy_bitfield(), create_bitfield(), get_bit(), set_all_bits(), set_bit(), and toggle_bit().

int nr_bits_set

The number of bits whose value has been assigned.

Initialised to 0.

Referenced by clear_all_bits(), clear_bit(), copy_bitfield(), create_bitfield(), nr_bits_set(), set_all_bits(), set_bit(), and toggle_bit().


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