All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes | List of all members
icarus::ns::util::details::HexDumper< Atom > Struct Template Reference

Wrapper to have data printed as hexadecimal dump. More...

#include <BinaryDumpUtils.h>

Public Member Functions

 HexDumper (Atom const *data, std::size_t size, unsigned int columns=16U)
 

Public Attributes

Atom const *const data
 
std::size_t const size
 
unsigned int const columns { 16U }
 

Detailed Description

template<typename Atom>
struct icarus::ns::util::details::HexDumper< Atom >

Wrapper to have data printed as hexadecimal dump.

Parameters
Atombase type of the dump

This record points to the data to be dumped, and it also include some dumping parameters:

The data is interpreted as a sequence of Atom types. Supported Atom types are unsigned integral types (std::uint8_t, std::uint16_t, etc.). Each atom is dumped as an HexObj.

Definition at line 80 of file BinaryDumpUtils.h.

Constructor & Destructor Documentation

template<typename Atom>
icarus::ns::util::details::HexDumper< Atom >::HexDumper ( Atom const *  data,
std::size_t  size,
unsigned int  columns = 16U 
)
inline

Definition at line 86 of file BinaryDumpUtils.h.

Member Data Documentation

template<typename Atom>
unsigned int const icarus::ns::util::details::HexDumper< Atom >::columns { 16U }

Definition at line 84 of file BinaryDumpUtils.h.

template<typename Atom>
Atom const* const icarus::ns::util::details::HexDumper< Atom >::data

Definition at line 82 of file BinaryDumpUtils.h.

template<typename Atom>
std::size_t const icarus::ns::util::details::HexDumper< Atom >::size

Definition at line 83 of file BinaryDumpUtils.h.


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