Public Member Functions | Private Attributes
ecl::formatters::PushAndPopFormatter< unsigned char, N > Class Template Reference

Convenience formatter for viewing an unsigned char push and pop containers in hex format. More...

#include <formatters.hpp>

List of all members.

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

Detailed Description

template<size_t N>
class ecl::formatters::PushAndPopFormatter< unsigned char, N >

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.

Template Parameters:
N: the size of the container to be formatted.

Definition at line 100 of file push_and_pop/formatters.hpp.


Member Function Documentation

template<size_t N>
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.


Member Data Documentation

template<size_t N>
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.


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


ecl_containers
Author(s): Daniel Stonier (d.stonier@gmail.com)
autogenerated on Thu Jan 2 2014 11:12:25