BitSet Class Reference

#include <BitSet.H>

List of all members.

Public Member Functions

 BitSet ()
 BitSet (int bits, bool init)
void define (int bits, bool init)
 BitSet (const BitSet &rhs)
BitSetoperator= (const BitSet &rhs)
bool operator< (const BitSet &rhs) const
 ~BitSet ()
bool operator[] (int i) const
void setTrue (int i)
void setFalse (int i)
void setAllTrue ()
void setAllFalse ()
bool isEmpty () const
bool isFull () const
int size () const
int linearSize () const
void linearIn (const void *const inBuf)
void linearOut (void *const a_outBuf) const

Static Public Member Functions

static int initialize ()

Static Public Attributes

static long int bytes
static long int peak

Private Attributes

int m_size
int m_length

Static Private Attributes



class BitSetIterator
class BitSetTrueIterator

Constructor & Destructor Documentation

BitSet::BitSet (  ) 

BitSet::BitSet ( int  bits,
bool  init 

BitSet::BitSet ( const BitSet rhs  ) 

BitSet::~BitSet (  ) 

Member Function Documentation

void BitSet::define ( int  bits,
bool  init 

BitSet& BitSet::operator= ( const BitSet rhs  ) 

bool BitSet::operator< ( const BitSet rhs  )  const

Primary criterion: m_length. Secondary criterion: BITSETWORD-by-BITSETWORD lexicographic comparison of *m_bits.

bool BitSet::operator[] ( int  i  )  const [inline]

void BitSet::setTrue ( int  i  ) 

void BitSet::setFalse ( int  i  ) 

void BitSet::setAllTrue (  ) 

void BitSet::setAllFalse (  ) 

bool BitSet::isEmpty (  )  const

returns 'true' if the entire bitset is zero

bool BitSet::isFull (  )  const

returns 'true' if entire bitset is 1

int BitSet::size (  )  const [inline]

References m_size.

static int BitSet::initialize (  )  [static]

int BitSet::linearSize (  )  const

void BitSet::linearIn ( const void *const   inBuf  ) 

void BitSet::linearOut ( void *const   a_outBuf  )  const

Friends And Related Function Documentation

friend class BitSetIterator [friend]

friend class BitSetTrueIterator [friend]

Member Data Documentation

long int BitSet::bytes [static]

long int BitSet::peak [static]

BITSETWORD* BitSet::m_bits [private]

int BitSet::m_size [private]

int BitSet::m_length [private]

BITSETWORD BitSet::trueMasks[BITSETWORDSIZE] [static, private]

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

Generated on Fri Apr 5 04:24:56 2019 for Chombo + EB by  doxygen 1.5.5