BearParser
Portable Executable parsing library (from PE-bear)
Loading...
Searching...
No Matches
Formatter Class Reference

#include <Formatter.h>

Collaboration diagram for Formatter:

Public Member Functions

 Formatter (AbstractByteBuffer *buf, bool _isHex=false, bool _isSkipNonprintable=false)
 
void setHex (bool isEnabled)
 
void setSkipNonPrintable (bool isEnabled)
 
const QString operator[] (std::size_t idx) const
 
- Public Member Functions inherited from AbstractFormatter
 AbstractFormatter (AbstractByteBuffer *v_buf)
 
virtual ~AbstractFormatter ()
 

Protected Attributes

bool isHex
 
bool isSkipNonprintable
 
- Protected Attributes inherited from AbstractFormatter
AbstractByteBufferbuf
 

Detailed Description

Definition at line 18 of file Formatter.h.

Constructor & Destructor Documentation

◆ Formatter()

Formatter::Formatter ( AbstractByteBuffer * buf,
bool _isHex = false,
bool _isSkipNonprintable = false )
inline

Definition at line 20 of file Formatter.h.

Member Function Documentation

◆ operator[]()

const QString Formatter::operator[] ( std::size_t idx) const
virtual

Implements AbstractFormatter.

Definition at line 12 of file Formatter.cpp.

Here is the call graph for this function:

◆ setHex()

void Formatter::setHex ( bool isEnabled)
inline

Definition at line 26 of file Formatter.h.

◆ setSkipNonPrintable()

void Formatter::setSkipNonPrintable ( bool isEnabled)
inline

Definition at line 27 of file Formatter.h.

Member Data Documentation

◆ isHex

bool Formatter::isHex
protected

Definition at line 32 of file Formatter.h.

◆ isSkipNonprintable

bool Formatter::isSkipNonprintable
protected

Definition at line 33 of file Formatter.h.


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