libfoedus-core
FOEDUS Core Library
|
Convenient way of writing hex integers to stream. More...
Convenient way of writing hex integers to stream.
Use it as follows.
Definition at line 124 of file assorted_func.hpp.
#include <assorted_func.hpp>
Public Member Functions | |
template<typename T > | |
Hex (T val, int fix_digits=-1) | |
Public Attributes | |
uint64_t | val_ |
int | fix_digits_ |
Friends | |
std::ostream & | operator<< (std::ostream &o, const Hex &v) |
|
inline |
Definition at line 126 of file assorted_func.hpp.
|
friend |
Definition at line 92 of file assorted_func.cpp.
int foedus::assorted::Hex::fix_digits_ |
Definition at line 129 of file assorted_func.hpp.
Referenced by foedus::assorted::operator<<().
uint64_t foedus::assorted::Hex::val_ |
Definition at line 128 of file assorted_func.hpp.
Referenced by foedus::assorted::operator<<().