SharedMeatAxe  1.0
BitString_t Class Reference

A bit string. More...

Data Fields

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

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:

SharedMeatAxe 1.0 documentation, generated on Sat Dec 30 2017 12:13:21