#include <oofxmldb.h>
Collaboration diagram for oofXMLDBWriter:

Writes fields as elements and related tables as nested elements. Does not generate a DTD. Writes the schema as our variant of XMLSchema.
Public Member Functions | |
| oofXMLDBWriter (std::ostream &, dbView *, oofIDfactory &) | |
| void | startDatabase () |
| void | endDatabase () |
| void | writeDatabase () |
| void | writeRecord () |
| void | writeSchema () |
| used when you want to write a single dbView's schema to a stream. | |
| void | startSchema () |
| creates a string containing the schema for a view, excluding the end tag, in case we nest other data. | |
| void | endSchema () |
Static Public Member Functions | |
| oofString | schemaHeader (const char *indentString) |
| oofString | fieldtype2Attributes (const dbField *) |
|
||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
creates a string containing the schema for a view, excluding the end tag, in case we nest other data. flattens output so all data in a dbView appears to have been in the view's table which may continue to be a sufficient solution.
|
|
|
|
|
|
|
|
|
used when you want to write a single dbView's schema to a stream. eg: if you were writing a separate schema document assumes Schema at outermost level |
1.3.5