RetroLinker
Linker for several 8-bit, 16-bit and 32-bit formats
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
Dumper::Dumper Class Reference

A class to control the output of a file analysis. More...

#include <dumper.h>

Public Member Functions

 Dumper (std::ostream &out)
 
void SetEncoding (char32_t(&encoding)[256], bool force=false)
 
void SetTitle (std::string title)
 
void PrintHex (offset_t value, unsigned width, std::string prefix="0x")
 Displays a hexadecimal value (default prefix is "0x")
 
void PrintDec (offset_t value, std::string prefix="#")
 Displays a decimal value (default prefix is "#")
 
void PutChar (char32_t c)
 Displays a Unicode character as a UTF-8 byte sequence.
 
void BeginUnderline ()
 ANSI escape sequence to add underline.
 
void EndUnderline ()
 ANSI escape sequence to remove all formatting.
 

Public Attributes

std::ostream & out
 
bool use_ansi
 
char32_t(* encoding )[256]
 

Detailed Description

A class to control the output of a file analysis.


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