IDA C++ SDK 9.2
Loading...
Searching...
No Matches
file_printer_t Struct Reference

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

#include <hexrays.hpp>

Inheritance diagram for file_printer_t:
vd_printer_t

Public Member Functions

 AS_PRINTF (3, 4) int hexapi print(int indent
 Print.
 file_printer_t (FILE *_fp)
 Constructor.
Public Member Functions inherited from vd_printer_t
 AS_PRINTF (3, 4) virtual int hexapi print(int indent
 Print.

Public Attributes

FILE * fp
 Output file pointer.
const char * format
const char override
Public Attributes inherited from vd_printer_t
qstring tmpbuf
int hdrlines = 0
 number of header lines (prototype+typedef+lvars) valid at the end of print process
const char * format

Detailed Description

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

Constructor & Destructor Documentation

◆ file_printer_t()

file_printer_t::file_printer_t ( FILE * _fp)
inline

Constructor.

Member Function Documentation

◆ AS_PRINTF()

file_printer_t::AS_PRINTF ( 3 ,
4  )

Print.

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

Parameters
indentnumber of spaces to generate as prefix
formatprintf-style format specifier
Returns
length of printed string

Member Data Documentation

◆ fp

FILE* file_printer_t::fp

Output file pointer.

◆ format

const char* file_printer_t::format

◆ override

const char file_printer_t::override

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