ROSE 0.11.145.192
Public Member Functions | List of all members
Rose::BinaryAnalysis::AsmFunctionIndex::SizeInsnsCallback Class Reference

Description

Print number of instructions in function.

Definition at line 435 of file AsmFunctionIndex.h.

#include <Rose/BinaryAnalysis/AsmFunctionIndex.h>

Inheritance diagram for Rose::BinaryAnalysis::AsmFunctionIndex::SizeInsnsCallback:
Inheritance graph
[legend]
Collaboration diagram for Rose::BinaryAnalysis::AsmFunctionIndex::SizeInsnsCallback:
Collaboration graph
[legend]

Public Member Functions

virtual bool operator() (bool enabled, const DataArgs &)
 Callback to print data for a table cell.
 
- Public Member Functions inherited from Rose::BinaryAnalysis::AsmFunctionIndex::OutputCallback
 OutputCallback (const std::string &name, size_t width, const std::string description="")
 Constructor.
 
void set_prefix (const std::string &header, const std::string &separator=" ", const std::string &data=" ")
 Set prefix characters.
 
virtual bool operator() (bool enabled, const BeforeAfterArgs &)
 Callback for before and after the table.
 
virtual bool operator() (bool enabled, const HeadingArgs &)
 Callback to print a column heading.
 

Additional Inherited Members

- Protected Member Functions inherited from Rose::BinaryAnalysis::AsmFunctionIndex::OutputCallback
std::string center (const std::string &, size_t width)
 Center s in a string of length width.
 
- Protected Attributes inherited from Rose::BinaryAnalysis::AsmFunctionIndex::OutputCallback
std::string name
 Column name used when printing table headers.
 
std::string desc
 Optional description to appear in footnote.
 
size_t width
 Minimum width of column header or data.
 
std::string header_prefix
 Character(s) to print before headings.
 
std::string separator_prefix
 Character(s) to print before line separators.
 
std::string data_prefix
 Character(s) to print before data cells.
 

Constructor & Destructor Documentation

◆ SizeInsnsCallback()

Rose::BinaryAnalysis::AsmFunctionIndex::SizeInsnsCallback::SizeInsnsCallback ( )
inline

Definition at line 437 of file AsmFunctionIndex.h.

Member Function Documentation

◆ operator()()

virtual bool Rose::BinaryAnalysis::AsmFunctionIndex::SizeInsnsCallback::operator() ( bool  enabled,
const DataArgs  
)
virtual

Callback to print data for a table cell.

The base class implementation prints white space only, so subclasses almost certainly want to override this method.

Reimplemented from Rose::BinaryAnalysis::AsmFunctionIndex::OutputCallback.


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