Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Compound Members | File Members

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)
 ~BitSet ()
bool operator[] (int i) const
void setTrue (int i)
void setFalse (int i)
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

int initialize ()

Static Public Attributes

long int bytes
long int peak

Private Attributes

BITSETWORD * m_bits
int m_size
int m_length

Static Private Attributes

BITSETWORD trueMasks [BITSETWORDSIZE]

Friends

class BitSetIterator


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[] int  i  )  const [inline]
 

void BitSet::setTrue int  i  ) 
 

void BitSet::setFalse int  i  ) 
 

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]
 

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]
 


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 Jul 2 17:55:42 2004 for Chombo by doxygen 1.3.2