#include <sstream>#include <iostream>#include <map>#include <string>#include <set>#include "tools/MicroException.hh"#include "tools/Toolbox.hh"#include "tools/Log.hh"Include dependency graph for Toolbox.cpp:

Go to the source code of this file.
Functions | |
| std::ostream & | operator<< (std::ostream &out, const BinOut &x) |
| std::ostream& operator<< | ( | std::ostream & | out, | |
| const BinOut & | x | |||
| ) |
Definition at line 187 of file Toolbox.cpp.
00187 { 00188 // out << "0x" << hex << x._Num << dec << "="; 00189 //out << HexOut(x._Num, 2) << "="; 00190 for (unsigned int digit = x._Digits; digit > 0; digit--) { 00191 if ((digit != x._Digits) && (digit % 4 == 0)) 00192 out << " "; 00193 out << ((x._Num >> (digit - 1)) & 0x1); 00194 } 00195 return(out); 00196 } // BinOut.operator <<
1.4.7