BitSet Class Reference

#include <BitSet.hpp>

Inheritance diagram for BitSet:

XMemory List of all members.

Public Member Functions

 BitSet (const unsigned int size, MemoryManager *const manager=XMLPlatformUtils::fgMemoryManager)
 BitSet (const BitSet &toCopy)
 ~BitSet ()
bool equals (const BitSet &other) const
bool allAreCleared () const
bool allAreSet () const
unsigned int size () const
bool get (const unsigned int index) const
void clear (const unsigned int index)
void clearAll ()
void set (const unsigned int index)
void andWith (const BitSet &other)
void orWith (const BitSet &other)
void xorWith (const BitSet &other)
unsigned int hash (const unsigned int hashModulus) const

Private Member Functions

 BitSet ()
void ensureCapacity (const unsigned int bits)

Private Attributes

MemoryManagerfMemoryManager
unsigned long * fBits
unsigned int fUnitLen

Detailed Description

Definition at line 104 of file BitSet.hpp.


Constructor & Destructor Documentation

BitSet::BitSet ( const unsigned int  size,
MemoryManager *const   manager = XMLPlatformUtils::fgMemoryManager 
)

BitSet::BitSet ( const BitSet toCopy  ) 

BitSet::~BitSet (  ) 

BitSet::BitSet (  )  [private]


Member Function Documentation

bool BitSet::allAreCleared (  )  const

bool BitSet::allAreSet (  )  const

void BitSet::andWith ( const BitSet other  ) 

void BitSet::clear ( const unsigned int  index  ) 

void BitSet::clearAll (  ) 

void BitSet::ensureCapacity ( const unsigned int  bits  )  [private]

bool BitSet::equals ( const BitSet other  )  const

bool BitSet::get ( const unsigned int  index  )  const

unsigned int BitSet::hash ( const unsigned int  hashModulus  )  const

void BitSet::orWith ( const BitSet other  ) 

void BitSet::set ( const unsigned int  index  ) 

unsigned int BitSet::size (  )  const

void BitSet::xorWith ( const BitSet other  ) 


Member Data Documentation

unsigned long* BitSet::fBits [private]

Definition at line 176 of file BitSet.hpp.

MemoryManager* BitSet::fMemoryManager [private]

Definition at line 175 of file BitSet.hpp.

unsigned int BitSet::fUnitLen [private]

Definition at line 177 of file BitSet.hpp.


The documentation for this class was generated from the following file:
Generated on Thu Dec 7 01:19:24 2006 for DT2005.panorama by  doxygen 1.4.7