Bit Class Reference

A "reference" to a bit within a BitSet. More...

#include <BitSet.h++>

List of all members.

Public Member Functions

 Bit (const Bit &other) throw ()
 Copy constructor.
Bitoperator= (const Bit &other) throw ()
 Assignment operator.
Bitoperator= (bool val) throw ()
 Assign a value to the bit.
 ~Bit () throw ()
 Destructor.
 operator bool () const throw ()
 Cast operator.
Bitflip () throw ()
 Flip the bit.

Friends

class BitSet

Detailed Description

A "reference" to a bit within a BitSet.

Author:
Mark Lindner

Constructor & Destructor Documentation

Bit ( const Bit other  )  throw ()

Copy constructor.

~Bit (  )  throw ()

Destructor.


Member Function Documentation

BitSet::Bit & flip (  )  throw ()

Flip the bit.

operator bool (  )  const throw ()

Cast operator.

BitSet::Bit & operator= ( bool  val  )  throw ()

Assign a value to the bit.

BitSet::Bit & operator= ( const Bit other  )  throw ()

Assignment operator.


Friends And Related Function Documentation

friend class BitSet [friend]

The documentation for this class was generated from the following files:
Generated on Sat Nov 26 16:49:08 2011 for libcommonc++ by  doxygen 1.6.3