Latest available version: IDA and decompilers v8.4.240215 see all releases
Hex-Rays logo State-of-the-art binary code analysis tools
email icon

Helper class to convert cfunc_t into text. More...

#include <hexrays.hpp>

Inheritance diagram for vc_printer_t:
vd_printer_t qstring_printer_t

Public Member Functions

 vc_printer_t (const cfunc_t *f)
 Constructor. More...
 
virtual bool oneliner () const newapi
 Are we generating one-line text representation? More...
 
- Public Member Functions inherited from vd_printer_t
virtual int print (int indent, const char *format,...)
 

Public Attributes

const cfunc_tfunc
 cfunc_t to generate text for More...
 
char lastchar = 0
 internal: last printed character More...
 
- 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 More...
 

Detailed Description

Helper class to convert cfunc_t into text.

Definition at line 865 of file hexrays.hpp.

Constructor & Destructor Documentation

◆ vc_printer_t()

vc_printer_t::vc_printer_t ( const cfunc_t f)

Constructor.

Definition at line 870 of file hexrays.hpp.

Member Function Documentation

◆ oneliner()

virtual bool vc_printer_t::oneliner ( ) const
virtual

Are we generating one-line text representation?

Returns
true if the output will occupy one line without line breaks

Definition at line 873 of file hexrays.hpp.

Member Data Documentation

◆ func

const cfunc_t* vc_printer_t::func

cfunc_t to generate text for

Definition at line 867 of file hexrays.hpp.

◆ lastchar

char vc_printer_t::lastchar = 0

internal: last printed character

Definition at line 868 of file hexrays.hpp.