bits.h File Reference
#include "claraty/share.h"#include <iostream>#include <string>Include dependency graph for bits.h:

Go to the source code of this file.
Namespaces | |
| namespace | claraty |
Classes | |
| class | claraty::Bits |
| class | claraty::Bits::reference |
Functions | |
| static unsigned long | claraty::_maskbit (size_t pos) |
| static unsigned long | claraty::_maskbits (size_t pos, size_t n) |
| Bits | claraty::operator & (const Bits &lhs, const Bits &rhs) |
| Bits | claraty::operator| (const Bits &lhs, const Bits &rhs) |
| Bits | claraty::operator^ (const Bits &, const Bits &) |
| std::ostream & | claraty::operator<< (std::ostream &ostr, const Bits &rhs) |
Variables | |
| const size_t | claraty::MAX_BITS = sizeof(unsigned long) * 8 |
Detailed Description
Bit field manipulations. Bits are used for Digital I/O
Designer(s): Issa A.D. Nesnas, Won S. Kim
Author(s): Won S. Kim, Issa A.D. Nesnas
Date: August 15, 2002
Software License:
http://claraty.jpl.nasa.gov/license/open_src/ or file: license/open_src.txt
© 2006, Jet Propulsion Laboratory, California Institute of Technology
- Revision
- 1.7
Definition in file bits.h.