My Project
+ 80db3
|
Output utility functions. More...
#include <ostream>
#include <string>
#include <boost/cstdint.hpp>
#include <boost/range/size.hpp>
#include "util/console.hpp"
Go to the source code of this file.
Classes | |
struct | quoted |
struct | if_not_empty |
struct | detail::if_not< T > |
struct | detail::print_hex< T > |
struct | detail::print_hex_string |
struct | detail::print_bytes< T > |
Namespaces | |
detail | |
Functions | |
std::ostream & | operator<< (std::ostream &os, const quoted &q) |
std::ostream & | operator<< (std::ostream &os, const if_not_empty &s) |
template<class T > | |
std::ostream & | detail::operator<< (std::ostream &os, const if_not< T > &s) |
template<class T > | |
detail::if_not< T > | if_not_equal (const std::string &name, T value, T excluded) |
template<class T > | |
detail::if_not< T > | if_not_zero (const std::string &name, T value) |
template<class T > | |
std::ostream & | detail::operator<< (std::ostream &os, const print_hex< T > &s) |
std::ostream & | detail::operator<< (std::ostream &os, const print_hex_string &s) |
template<class T > | |
detail::print_hex< T > | print_hex (T value) |
detail::print_hex_string | print_hex (const char *data, size_t size) |
detail::print_hex_string | print_hex (const std::string &data) |
template<class T > | |
std::ostream & | detail::operator<< (std::ostream &os, const print_bytes< T > &s) |
template<class T > | |
detail::print_bytes< T > | print_bytes (T value, int precision=3) |
Variables | |
const char *const | byte_size_units [] |
Output utility functions.
Definition in file output.hpp.
|
inline |
Definition at line 45 of file output.hpp.
|
inline |
Definition at line 72 of file output.hpp.
detail::if_not<T> if_not_equal | ( | const std::string & | name, |
T | value, | ||
T | excluded | ||
) |
Definition at line 112 of file output.hpp.
detail::if_not<T> if_not_zero | ( | const std::string & | name, |
T | value | ||
) |
detail::print_hex<T> print_hex | ( | T | value | ) |
|
inline |
Definition at line 177 of file output.hpp.
|
inline |
detail::print_bytes<T> print_bytes | ( | T | value, |
int | precision = 3 |
||
) |
const char* const byte_size_units[] |
Definition at line 185 of file output.hpp.