CARMA C++
bitTwiddling.h File Reference

Interface file for various utlities for twiddling bits. More...

#include "carma/util/compileTimeCheck.h"

Go to the source code of this file.

Namespaces

module  carma
 IDL for bima Rx Control, inherits from antenna::common::RxControl.
 
 carma::util
 Utility classes.
 
 carma::util::detail
 

Functions

template<int highestBit, int lowestBit>
unsigned char carma::util::extractBitfield (unsigned char x)
 
template<int highestBit, int lowestBit>
unsigned short carma::util::extractBitfield (unsigned short x)
 
template<int highestBit, int lowestBit>
unsigned int carma::util::extractBitfield (unsigned int x)
 
template<int highestBit, int lowestBit>
unsigned long carma::util::extractBitfield (unsigned long x)
 
template<int highestBit, int lowestBit>
unsigned long long carma::util::extractBitfield (unsigned long long x)
 
template<int highestBit, int lowestBit>
char carma::util::extractBitfield (char x)
 
template<int highestBit, int lowestBit>
short carma::util::extractBitfield (short x)
 
template<int highestBit, int lowestBit>
int carma::util::extractBitfield (int x)
 
template<int highestBit, int lowestBit>
long carma::util::extractBitfield (long x)
 
template<int highestBit, int lowestBit>
long long carma::util::extractBitfield (long long x)
 
template<int highestBit, int lowestBit>
float carma::util::extractBitfield (float x)
 
template<int highestBit, int lowestBit>
double carma::util::extractBitfield (double x)
 
template<int highestBit, int lowestBit>
long double carma::util::extractBitfield (long double x)
 
template<int highestBit, int lowestBit, typename T >
carma::util::detail::extractUnsignedBitfieldImpl (T x)
 

Detailed Description

Interface file for various utlities for twiddling bits.

Definition in file bitTwiddling.h.