EvEmu
0.8.4
11 September 2021
|
#include "PyDumpVisitor.h"
Public Member Functions | |
PyLogDumpVisitor (LogType log_type, LogType log_hex_type, const char *pfx="", bool full_nested=false, bool full_hex=false) | |
bool | fullHex () const |
LogType | logType () const |
LogType | logHexType () const |
![]() | |
PyDumpVisitor (const char *pfx="", bool full_nested=false) | |
bool | fullNested () const |
![]() | |
PyPfxVisitor (const char *pfx="") | |
![]() | |
virtual | ~PyVisitor () |
Protected Member Functions | |
void | _print (const char *fmt,...) |
void | _dump (const char *pfx, const uint8 *data, size_t len) |
![]() | |
bool | VisitInteger (const PyInt *rep) |
primitive data visitors More... | |
bool | VisitLong (const PyLong *rep) |
bool | VisitReal (const PyFloat *rep) |
bool | VisitBoolean (const PyBool *rep) |
bool | VisitNone (const PyNone *rep) |
bool | VisitBuffer (const PyBuffer *rep) |
bool | VisitString (const PyString *rep) |
bool | VisitWString (const PyWString *rep) |
bool | VisitToken (const PyToken *rep) |
bool | VisitTuple (const PyTuple *rep) |
the nested types Visitor More... | |
bool | VisitList (const PyList *rep) |
bool | VisitDict (const PyDict *rep) |
bool | VisitObject (const PyObject *rep) |
Object type visitor. More... | |
bool | VisitObjectEx (const PyObjectEx *rep) |
bool | VisitPackedRow (const PyPackedRow *rep) |
PackedRow type visitor. More... | |
bool | VisitSubStruct (const PySubStruct *rep) |
wrapper types Visitor More... | |
bool | VisitSubStream (const PySubStream *rep) |
bool | VisitChecksumedStream (const PyChecksumedStream *rep) |
![]() | |
const char * | _pfx () const |
void | _pfxExtend (const char *fmt,...) |
void | _pfxWithdraw () |
Private Attributes | |
const bool | mFullHex |
const LogType | mLogType |
const LogType | mLogHexType |
Additional Inherited Members | |
![]() | |
std::stack< std::string > | mPfxStack |
Definition at line 73 of file PyDumpVisitor.h.
PyLogDumpVisitor::PyLogDumpVisitor | ( | LogType | log_type, |
LogType | log_hex_type, | ||
const char * | pfx = "" , |
||
bool | full_nested = false , |
||
bool | full_hex = false |
||
) |
Definition at line 333 of file PyDumpVisitor.cpp.
|
protectedvirtual |
Implements PyDumpVisitor.
Definition at line 354 of file PyDumpVisitor.cpp.
References fullHex(), is_log_enabled, logHexType(), pfxHexDump(), and pfxHexDumpPreview().
|
protectedvirtual |
Implements PyDumpVisitor.
Definition at line 341 of file PyDumpVisitor.cpp.
References is_log_enabled, log_messageVA(), and logType().
Referenced by PyLookupDumpVisitor::VisitInteger(), and PyLookupDumpVisitor::VisitString().
|
inline |
Definition at line 78 of file PyDumpVisitor.h.
References mFullHex.
Referenced by _dump().
|
inline |
Definition at line 81 of file PyDumpVisitor.h.
References mLogHexType.
Referenced by _dump().
|
inline |
Definition at line 80 of file PyDumpVisitor.h.
References mLogType.
Referenced by _print().
|
private |
Definition at line 88 of file PyDumpVisitor.h.
Referenced by fullHex().
|
private |
Definition at line 91 of file PyDumpVisitor.h.
Referenced by logHexType().
|
private |
Definition at line 90 of file PyDumpVisitor.h.
Referenced by logType().