|
EvEmu
0.8.4
11 September 2021
|
#include "PyXMLGenerator.h"


Public Member Functions | |
| PyXMLGenerator (FILE *into, const char *pfx="") | |
Public Member Functions inherited from PyPfxVisitor | |
| PyPfxVisitor (const char *pfx="") | |
Public Member Functions inherited from PyVisitor | |
| virtual | ~PyVisitor () |
| virtual bool | VisitWString (const PyWString *rep) |
| virtual bool | VisitToken (const PyToken *rep) |
Protected Member Functions | |
| 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 | VisitPackedRow (const PyPackedRow *rep) |
| PackedRow type visitor. More... | |
| bool | VisitObject (const PyObject *rep) |
| Object type visitor. More... | |
| bool | VisitObjectEx (const PyObjectEx *rep) |
| bool | VisitSubStruct (const PySubStruct *rep) |
| wrapper types Visitor More... | |
| bool | VisitSubStream (const PySubStream *rep) |
| bool | VisitChecksumedStream (const PyChecksumedStream *rep) |
| bool | VisitDict (const PyDict *rep) |
| bool | VisitList (const PyList *rep) |
| bool | VisitTuple (const PyTuple *rep) |
| the nested types Visitor More... | |
Protected Member Functions inherited from PyPfxVisitor | |
| const char * | _pfx () const |
| void | _pfxExtend (const char *fmt,...) |
| void | _pfxWithdraw () |
Private Attributes | |
| FILE *const | mInto |
| uint32 | mItem |
Additional Inherited Members | |
Protected Attributes inherited from PyPfxVisitor | |
| std::stack< std::string > | mPfxStack |
Definition at line 31 of file PyXMLGenerator.h.
| PyXMLGenerator::PyXMLGenerator | ( | FILE * | into, |
| const char * | pfx = "" |
||
| ) |
Definition at line 31 of file PyXMLGenerator.cpp.
|
protectedvirtual |
Reimplemented from PyVisitor.
Definition at line 59 of file PyXMLGenerator.cpp.
References PyPfxVisitor::_pfx(), mInto, and mItem.

|
protectedvirtual |
Reimplemented from PyVisitor.
Definition at line 73 of file PyXMLGenerator.cpp.
References PyPfxVisitor::_pfx(), mInto, and mItem.

|
protectedvirtual |
Reimplemented from PyVisitor.
Definition at line 140 of file PyXMLGenerator.cpp.
References PyPfxVisitor::_pfx(), and mInto.

|
protectedvirtual |
visit dict elements.
Reimplemented from PyVisitor.
Definition at line 147 of file PyXMLGenerator.cpp.
References PyPfxVisitor::_pfx(), PyPfxVisitor::_pfxExtend(), PyPfxVisitor::_pfxWithdraw(), PyRep::AsString(), PyDict::begin(), PyString::content(), PyDict::end(), mInto, and mItem.

|
protectedvirtual |
primitive data visitors
Reimplemented from PyVisitor.
Definition at line 38 of file PyXMLGenerator.cpp.
References PyPfxVisitor::_pfx(), mInto, and mItem.

|
protectedvirtual |
visit the list elements.
Reimplemented from PyVisitor.
Definition at line 289 of file PyXMLGenerator.cpp.
References PyPfxVisitor::_pfx(), PyPfxVisitor::_pfxExtend(), PyPfxVisitor::_pfxWithdraw(), PyList::begin(), PyList::end(), mInto, mItem, and PyList::size().

|
protectedvirtual |
Reimplemented from PyVisitor.
Definition at line 45 of file PyXMLGenerator.cpp.
References PyPfxVisitor::_pfx(), mInto, and mItem.

|
protectedvirtual |
Reimplemented from PyVisitor.
Definition at line 66 of file PyXMLGenerator.cpp.
References PyPfxVisitor::_pfx(), and mInto.

|
protectedvirtual |
Object type visitor.
Reimplemented from PyVisitor.
Definition at line 94 of file PyXMLGenerator.cpp.
References PyPfxVisitor::_pfx(), PyPfxVisitor::_pfxExtend(), PyPfxVisitor::_pfxWithdraw(), mInto, and PyVisitor::VisitObject().

|
protectedvirtual |
Reimplemented from PyVisitor.
Definition at line 107 of file PyXMLGenerator.cpp.
References PyPfxVisitor::_pfx(), and mInto.

|
protectedvirtual |
PackedRow type visitor.
Reimplemented from PyVisitor.
Definition at line 87 of file PyXMLGenerator.cpp.
References PyPfxVisitor::_pfx(), and mInto.

|
protectedvirtual |
Reimplemented from PyVisitor.
Definition at line 52 of file PyXMLGenerator.cpp.
References PyPfxVisitor::_pfx(), mInto, and mItem.

|
protectedvirtual |
Reimplemented from PyVisitor.
Definition at line 80 of file PyXMLGenerator.cpp.
References PyPfxVisitor::_pfx(), mInto, and mItem.

|
protectedvirtual |
Reimplemented from PyVisitor.
Definition at line 127 of file PyXMLGenerator.cpp.
References PyPfxVisitor::_pfx(), PyPfxVisitor::_pfxExtend(), PyPfxVisitor::_pfxWithdraw(), mInto, and PyVisitor::VisitSubStream().

|
protectedvirtual |
wrapper types Visitor
Reimplemented from PyVisitor.
Definition at line 114 of file PyXMLGenerator.cpp.
References PyPfxVisitor::_pfx(), PyPfxVisitor::_pfxExtend(), PyPfxVisitor::_pfxWithdraw(), mInto, and PyVisitor::VisitSubStruct().

|
protectedvirtual |
the nested types Visitor
visits the tuple elements.
Reimplemented from PyVisitor.
Definition at line 389 of file PyXMLGenerator.cpp.
References PyPfxVisitor::_pfx(), PyPfxVisitor::_pfxExtend(), PyPfxVisitor::_pfxWithdraw(), PyTuple::begin(), PyTuple::end(), and mInto.

|
private |
Definition at line 63 of file PyXMLGenerator.h.
Referenced by VisitBoolean(), VisitBuffer(), VisitChecksumedStream(), VisitDict(), VisitInteger(), VisitList(), VisitLong(), VisitNone(), VisitObject(), VisitObjectEx(), VisitPackedRow(), VisitReal(), VisitString(), VisitSubStream(), VisitSubStruct(), and VisitTuple().
|
private |
Definition at line 64 of file PyXMLGenerator.h.
Referenced by VisitBoolean(), VisitBuffer(), VisitDict(), VisitInteger(), VisitList(), VisitLong(), VisitReal(), and VisitString().