Convenience formatter for viewing an unsigned char push and pop containers in hex format. More...
#include <formatters.hpp>
Public Member Functions | |
ecl::formatters::ByteArrayFormatter < unsigned char, N > & | operator() (ecl::PushAndPop< unsigned char > &container) |
Private Attributes | |
ecl::formatters::ByteArrayFormatter < unsigned char, N > | array_formatter |
Convenience formatter for viewing an unsigned char push and pop containers in hex format.
We dont accept a wide range of arguments for this class, it is simply designed to present byte push and pop containers in hex format byte by byte. If you want specialised formatting for the byte array, iterate over it with the Format<unsigned char> class.
Todo: It will also accept stencils which have an underlying array of the required type.
N | : the size of the container to be formatted. |
Definition at line 100 of file push_and_pop/formatters.hpp.
ecl::formatters::ByteArrayFormatter<unsigned char, N>& ecl::formatters::PushAndPopFormatter< unsigned char, N >::operator() | ( | ecl::PushAndPop< unsigned char > & | container | ) | [inline] |
Definition at line 105 of file push_and_pop/formatters.hpp.
ecl::formatters::ByteArrayFormatter<unsigned char, N> ecl::formatters::PushAndPopFormatter< unsigned char, N >::array_formatter [private] |
Definition at line 112 of file push_and_pop/formatters.hpp.