file_printer_t Struct Reference

Helper class to convert binary data structures into text and put into a file. More...

Inheritance diagram for file_printer_t:
vd_printer_t

List of all members.

Public Member Functions

int print (int indent, const char *format,...)
 Print.
 file_printer_t (FILE *_fp)
 Constructor.

Public Attributes

FILE * fp
 Output file pointer.

Detailed Description

Helper class to convert binary data structures into text and put into a file.

Definition at line 163 of file hexrays.hpp.


Member Function Documentation

int file_printer_t::print ( int  indent,
const char *  format,
  ... 
) [virtual]

Print.

This function is called to generate a portion of the output text. The output text may contain color codes.

Returns:
the number of printed characters
Parameters:
indent number of spaces to generate as prefix
format printf-style format specifier

Reimplemented from vd_printer_t.