bit_array Class Reference

#include <bitary.h>

List of all members.

Public Member Functions

 bit_array (unsigned long size=0)
 ~bit_array ()
void reset ()
bool get (unsigned long index) const
void set (unsigned long index, bool value=true)
bit_arrayoperator|= (const bit_array &other)
bit_arrayoperator &= (const bit_array &other)
bit_array operator & (const bit_array &other) const

Protected Attributes

unsigned long size
int nwords
unsigned long * data


Constructor & Destructor Documentation

bit_array::bit_array ( unsigned long  size = 0  ) 

Here is the call graph for this function:

bit_array::~bit_array (  ) 


Member Function Documentation

void bit_array::reset (  ) 

bool bit_array::get ( unsigned long  index  )  const

void bit_array::set ( unsigned long  index,
bool  value = true 
)

bit_array & bit_array::operator|= ( const bit_array other  ) 

bit_array & bit_array::operator &= ( const bit_array other  ) 

bit_array bit_array::operator & ( const bit_array other  )  const

Here is the call graph for this function:


Member Data Documentation

unsigned long bit_array::size [protected]

int bit_array::nwords [protected]

unsigned long* bit_array::data [protected]


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

Generated on Thu Jan 13 13:31:06 2011 by  doxygen 1.5.6