TF++, Miscellaneous classes and modules in C++:

output hex dump of any structure (prototypes) More...

#include <iomanip>
#include <iostream>
#include <ctype.h>
Include dependency graph for hexdump.h:

Go to the source code of this file.

Namespaces

 tfxx
 Namespace containing all code of library libtfxx.
 
 tfxx::util
 Small unspecific utilities.Small utilities of unspecific purpose. Some of them may be helpful for debugging code.
 

Macros

#define TF_HEXDUMP_H_VERSION   "TF_HEXDUMP_H V1.0"
 
#define TFXX_hexdump(V)
 produce hexdump to stdout, preceeded by object name. More...
 

Functions

std::ostream & tfxx::util::hexdump (const void *pp, const unsigned int &size, std::ostream &os=std::cout, const char &c='.', const unsigned int &n=16)
 output hex dump of memory area. More...
 
template<class C >
std::ostream & tfxx::util::hexdump (const C &v, std::ostream &os=std::cout, const char &c='.', const unsigned int &n=16)
 output hex dump of any object. More...
 

Detailed Description

output hex dump of any structure (prototypes)


Author
Thomas Forbriger
Date
27/06/2016

output hex dump of any structure (prototypes)


This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.


Copyright (c) 2016 by Thomas Forbriger (BFO Schiltach)

REVISIONS and CHANGES

  • 27/06/2016 V1.0 Thomas Forbriger

Definition in file hexdump.h.