Logo Search packages:      
Sourcecode: lbt version File versions  Download package

BitVector Class Reference

#include <BitVector.h>

List of all members.

Detailed Description

Binary digit (bit) vector

Definition at line 31 of file BitVector.h.

Public Types

typedef unsigned long word_t

Public Member Functions

void assign_false (unsigned i)
void assign_true (unsigned i)
 BitVector (const class BitVector &old)
 BitVector (unsigned size=0)
unsigned findNext (unsigned i) const
unsigned getSize () const
unsigned nonzero () const
bool operator== (const class BitVector &other) const
bool operator[] (unsigned i) const
void setSize (unsigned size)
 ~BitVector ()

Static Public Member Functions

static unsigned getNumWords (unsigned bits)

Private Member Functions

class BitVectoroperator= (const class BitVector &old)

Private Attributes

unsigned m_allocated
unsigned m_size

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

Generated by  Doxygen 1.6.0   Back to index