ROSE  0.9.6a
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HexdumpFormat Struct Reference

Settings that control how the lowest-level SgAsmExecutableFileFormat::hexdump function behaves. More...

#include <Cxx_Grammar.h>

Public Member Functions

 HexdumpFormat ()
 

Public Attributes

const char * prefix
 Characters to emit after internal linefeeds. More...
 
size_t width
 Bytes per line of output (default 16). More...
 
size_t colsize
 Bytes per column group (default 8). More...
 
const char * addr_fmt
 Printf format for addresses (default "0x%08llx: "). More...
 
bool multiline
 Emit prefix at beginning and line feed at end of output. More...
 
bool show_numeric
 Show numeric format of bytes (default true). More...
 
const char * numeric_fmt
 Printf format for bytes (default "%02x"). More...
 
const char * numeric_sep
 String to print between numeric values (default " "). More...
 
bool pad_numeric
 Pad numeric part of output with spaces for partial final line (default true). More...
 
bool show_chars
 Show ASCII characters after bytes (default true). More...
 
bool pad_chars
 Pad character part of output with spaces for partial final line (default true). More...
 

Detailed Description

Settings that control how the lowest-level SgAsmExecutableFileFormat::hexdump function behaves.

Definition at line 6381 of file Cxx_Grammar.h.

Constructor & Destructor Documentation

HexdumpFormat::HexdumpFormat ( )
inline

Definition at line 6382 of file Cxx_Grammar.h.

Member Data Documentation

const char* HexdumpFormat::prefix

Characters to emit after internal linefeeds.

Definition at line 6388 of file Cxx_Grammar.h.

Referenced by SgAsmExecutableFileFormat::hexdump(), and SgAsmGenericSection::write().

size_t HexdumpFormat::width

Bytes per line of output (default 16).

Definition at line 6389 of file Cxx_Grammar.h.

Referenced by SgAsmExecutableFileFormat::hexdump().

size_t HexdumpFormat::colsize

Bytes per column group (default 8).

Definition at line 6390 of file Cxx_Grammar.h.

Referenced by SgAsmExecutableFileFormat::hexdump().

const char* HexdumpFormat::addr_fmt

Printf format for addresses (default "0x%08llx: ").

Definition at line 6391 of file Cxx_Grammar.h.

Referenced by SgAsmExecutableFileFormat::hexdump().

bool HexdumpFormat::multiline

Emit prefix at beginning and line feed at end of output.

Definition at line 6392 of file Cxx_Grammar.h.

Referenced by SgAsmExecutableFileFormat::hexdump().

bool HexdumpFormat::show_numeric

Show numeric format of bytes (default true).

Definition at line 6395 of file Cxx_Grammar.h.

Referenced by SgAsmExecutableFileFormat::hexdump().

const char* HexdumpFormat::numeric_fmt

Printf format for bytes (default "%02x").

Definition at line 6396 of file Cxx_Grammar.h.

Referenced by SgAsmExecutableFileFormat::hexdump().

const char* HexdumpFormat::numeric_sep

String to print between numeric values (default " ").

Definition at line 6397 of file Cxx_Grammar.h.

Referenced by SgAsmExecutableFileFormat::hexdump().

bool HexdumpFormat::pad_numeric

Pad numeric part of output with spaces for partial final line (default true).

Definition at line 6398 of file Cxx_Grammar.h.

Referenced by SgAsmExecutableFileFormat::hexdump().

bool HexdumpFormat::show_chars

Show ASCII characters after bytes (default true).

Definition at line 6401 of file Cxx_Grammar.h.

Referenced by SgAsmExecutableFileFormat::hexdump().

bool HexdumpFormat::pad_chars

Pad character part of output with spaces for partial final line (default true).

Definition at line 6402 of file Cxx_Grammar.h.

Referenced by SgAsmExecutableFileFormat::hexdump().


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