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 More... | |
void | bitsetToChar (const boost::dynamic_bitset<> &bs, unsigned char *result) |
this method takes bitset obj and returns char * array More... | |
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. More... | |
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 mps_fire::i, and mps_fire::result.
Referenced by CSCDCCEventData::pack(), CSCDDUEventData::pack(), CSCTMBData::pack(), CSCEventData::pack(), and CSCALCTHeader::pack().
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 mps_fire::i.
Referenced by CSCDigiToRaw::createFedBuffers(), cscClassPackerCompare(), cscPackAndUnpack(), CSCALCTHeader::pack(), and printWords().
void bitset_utilities::printWords | ( | const boost::dynamic_bitset<> & | bs | ) |
Definition at line 56 of file bitset_append.cc.
References bitsetToChar(), and mps_fire::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 mps_fire::i, and mps_fire::result.
Referenced by CSCDCCEventData::pack(), CSCDDUEventData::pack(), CSCTMBData::pack(), CSCEventData::pack(), and CSCALCTHeader::pack().