Public Member Functions | Private Attributes | List of all members
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>

Public Member Functions

ecl::formatters::BytePushAndPopFormatter< unsigned char, N > & operator() (const ecl::PushAndPop< unsigned char, N > &container)
 

Private Attributes

ecl::formatters::BytePushAndPopFormatter< unsigned char, N > 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.

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

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

Member Function Documentation

◆ operator()()

template<size_t N>
ecl::formatters::BytePushAndPopFormatter<unsigned char, N>& ecl::formatters::PushAndPopFormatter< unsigned char, N >::operator() ( const ecl::PushAndPop< unsigned char, N > &  container)
inline

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

Member Data Documentation

◆ formatter

template<size_t N>
ecl::formatters::BytePushAndPopFormatter<unsigned char, N> ecl::formatters::PushAndPopFormatter< unsigned char, N >::formatter
private

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


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


ecl_containers
Author(s): Daniel Stonier
autogenerated on Wed Mar 2 2022 00:16:34