torc-master
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
torc::bitstream::Hex32 Class Reference

#include <OutputStreamHelpers.hpp>

Public Member Functions

 Hex32 (boost::uint32_t rhs)
 

Private Attributes

boost::uint32_t mWord
 

Friends

std::ostream & operator<< (std::ostream &os, const Hex32 &rhs)
 32-bit word hex inserter. More...
 

Detailed Description

Definition at line 69 of file bitstream/OutputStreamHelpers.hpp.

Constructor & Destructor Documentation

torc::bitstream::Hex32::Hex32 ( boost::uint32_t  rhs)
inline

Definition at line 72 of file bitstream/OutputStreamHelpers.hpp.

72 : mWord(rhs) {};

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const Hex32 rhs 
)
friend

32-bit word hex inserter.

Definition at line 45 of file bitstream/OutputStreamHelpers.cpp.

45  {
46  return os << std::hex << std::setfill('0') << std::setw(8) << inWord.mWord << std::dec;
47  }

Field Documentation

boost::uint32_t torc::bitstream::Hex32::mWord
private

Definition at line 70 of file bitstream/OutputStreamHelpers.hpp.


The documentation for this class was generated from the following file: