this file contains additional dynamic_bitset methods More...
Functions | |
boost::dynamic_bitset | append (const boost::dynamic_bitset<> &bs1, const boost::dynamic_bitset<> &bs2) |
this method takes two bitsets bs1 and bs2 and returns result of bs2 appended to the end of bs1 | |
void | bitsetToChar (const boost::dynamic_bitset<> &bs, unsigned char *result) |
this method takes bitset obj and returns char * array | |
void | printWords (const boost::dynamic_bitset<> &bs) |
boost::dynamic_bitset | ushortToBitset (const unsigned int numberOfBits, unsigned short *buf) |
this method takes numberOfBits bits from unsigned short * array and returns them in the bitset obj. |
this file contains additional dynamic_bitset methods
boost::dynamic_bitset bitset_utilities::append | ( | const boost::dynamic_bitset<> & | bs1, |
const boost::dynamic_bitset<> & | bs2 | ||
) |
this method takes two bitsets bs1 and bs2 and returns result of bs2 appended to the end of bs1
Definition at line 10 of file bitset_append.cc.
References i, and query::result.
void bitset_utilities::bitsetToChar | ( | const boost::dynamic_bitset<> & | bs, |
unsigned char * | result | ||
) |
this method takes bitset obj and returns char * array
Definition at line 40 of file bitset_append.cc.
References i.
Referenced by CSCDigiToRaw::createFedBuffers(), cscClassPackerCompare(), cscPackAndUnpack(), and printWords().
void bitset_utilities::printWords | ( | const boost::dynamic_bitset<> & | bs | ) |
Definition at line 56 of file bitset_append.cc.
References bitsetToChar(), and i.
Referenced by cscClassPackerCompare().
boost::dynamic_bitset bitset_utilities::ushortToBitset | ( | const unsigned int | numberOfBits, |
unsigned short * | buf | ||
) |
this method takes numberOfBits bits from unsigned short * array and returns them in the bitset obj.
Definition at line 27 of file bitset_append.cc.
References i, and query::result.
Referenced by CSCTMBData::pack(), CSCEventData::pack(), CSCDDUEventData::pack(), CSCDCCEventData::pack(), and CSCALCTHeader::pack().