Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class 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)
bool operator< (const BitSet &rhs) const
 ~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

static int initialize ()

Static Public Attributes

static long int bytes
static long int peak

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
 

static int BitSet::initialize  )  [static]
 

bool BitSet::isEmpty  )  const
 

returns 'true' if the entire bitset is zero

bool BitSet::isFull  )  const
 

returns 'true' if entire bitset is 1

void BitSet::linearIn const void *const   inBuf  ) 
 

void BitSet::linearOut void *const   a_outBuf  )  const
 

int BitSet::linearSize  )  const
 

bool BitSet::operator< const BitSet rhs  )  const
 

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

BitSet& BitSet::operator= const BitSet rhs  ) 
 

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

void BitSet::setFalse int  i  ) 
 

void BitSet::setTrue int  i  ) 
 

int BitSet::size  )  const [inline]
 


Friends And Related Function Documentation

friend class BitSetIterator [friend]
 


Member Data Documentation

long int BitSet::bytes [static]
 

long int BitSet::peak [static]
 


The documentation for this class was generated from the following file:
Generated on Wed Oct 5 14:00:00 2005 for Chombo&AMRSelfGravity by  doxygen 1.4.1