Qt 4.8
|
#include <qxsdschemadebugger_p.h>
Public Functions | |
void | dumpAttribute (const XsdAttribute::Ptr &attribute) |
void | dumpElement (const XsdElement::Ptr &element) |
void | dumpInheritance (const SchemaType::Ptr &type, int level=0) |
void | dumpParticle (const XsdParticle::Ptr &particle, int level=0) |
void | dumpSchema (const XsdSchema::Ptr &schema) |
void | dumpType (const SchemaType::Ptr &type) |
void | dumpWildcard (const XsdWildcard::Ptr &wildcard) |
XsdSchemaDebugger (const NamePool::Ptr &namePool) | |
Properties | |
const NamePool::Ptr | m_namePool |
A helper class to print out the structure of a compiled schema.
Definition at line 66 of file qxsdschemadebugger_p.h.
XsdSchemaDebugger::XsdSchemaDebugger | ( | const NamePool::Ptr & | namePool | ) |
Creates a new schema debugger.
namePool | The name pool that the schema uses. |
Definition at line 48 of file qxsdschemadebugger.cpp.
void XsdSchemaDebugger::dumpAttribute | ( | const XsdAttribute::Ptr & | attribute | ) |
Dumps the structure of the given attribute
.
Definition at line 177 of file qxsdschemadebugger.cpp.
Referenced by dumpSchema().
void XsdSchemaDebugger::dumpElement | ( | const XsdElement::Ptr & | element | ) |
Dumps the structure of the given element
.
Definition at line 160 of file qxsdschemadebugger.cpp.
Referenced by dumpSchema().
void XsdSchemaDebugger::dumpInheritance | ( | const SchemaType::Ptr & | type, |
int | level = 0 |
||
) |
Dumps the inheritance path of the given type
.
type | The type to dump. |
level | The level of indention. |
Definition at line 80 of file qxsdschemadebugger.cpp.
Referenced by dumpType().
void XsdSchemaDebugger::dumpParticle | ( | const XsdParticle::Ptr & | particle, |
int | level = 0 |
||
) |
Dumps the structure of the given particle
.
particle | The particle to dump. |
level | The level of indention. |
Definition at line 53 of file qxsdschemadebugger.cpp.
Referenced by dumpType().
void XsdSchemaDebugger::dumpSchema | ( | const XsdSchema::Ptr & | schema | ) |
Dumps the structure of the complete schema
.
Definition at line 183 of file qxsdschemadebugger.cpp.
void XsdSchemaDebugger::dumpType | ( | const SchemaType::Ptr & | type | ) |
Dumps the structure of the given type
.
Definition at line 107 of file qxsdschemadebugger.cpp.
Referenced by dumpSchema().
void XsdSchemaDebugger::dumpWildcard | ( | const XsdWildcard::Ptr & | wildcard | ) |
Dumps the structure of the given wildcard
.
Definition at line 88 of file qxsdschemadebugger.cpp.
Referenced by dumpType().
|
private |
Definition at line 118 of file qxsdschemadebugger_p.h.
Referenced by dumpAttribute(), dumpElement(), dumpInheritance(), dumpParticle(), and dumpType().