MeatAxe: BitString_t Class Reference

MeatAxe 2.4

- Main Page
- Related Pages
- Modules
- Data Structures

- Data Structures
- Data Fields

Data Fields
BitString_t Class Reference
Bit-String Handling

A bit string. More...

## Data Fields
unsigned long | Magic
| Used internally.
int | Size
| Number of bits.
int | BufSize
| Used internally for memory management.
long | Data [1]
| The bits.

## Detailed Description

A bit string.

The BitString_t type represents a string of 0's and 1's. You may also think of it as a subset {0,1,2,...,N-1}, where each 1 in the bit string means that the subset contains the corresponding element. Unlike the set_t type bit strings are static objects which cannot change their size. However, operations like the intersection of two sets are much faster with BitString_t than with set_t objects.

## Field Documentation

int BitString_t::BufSize

Used internally for memory management.

long BitString_t::Data[1]

The bits.

The least significant bit comes first.

unsigned long BitString_t::Magic

Used internally.

int BitString_t::Size

Number of bits.

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

- src/meataxe.h