#include <XmlOutput.h>
Inherits DbOutput.
Inheritance diagram for XmlOutput:


Public Member Functions | |
| XmlOutput (Db &db, const std::string &dictObjFileName, const std::string &dictName, const std::string &ns=std::string()) | |
| virtual | ~XmlOutput () |
| void | WriteSchema (const std::string &path=std::string()) |
| void | WriteData (Block &block, const std::string &path=std::string()) |
Protected Member Functions | |
| void | _WriteTable (std::ostream &io, ISTable *tIn, std::vector< unsigned int > &widths, const bool reCalcWidth=false, const std::vector< eTypeCode > &typeCodes=std::vector< eTypeCode >(0)) |
Private Attributes | |
| std::string | _ns |
| SchemaDataInfo * | _schemaDataInfoP |
| DictParentChild * | _dictParentChildP |
| DictObjFile * | _dictObjFileP |
| DictObjCont * | _dictObjContP |
Static Private Attributes | |
| static const std::string | _BASE_SCHEMA_FILE = "DB_LOADER_SCHEMA_XML" |
This class represents an XML output. It re-implements methods for schema and data writing.
| XmlOutput::XmlOutput | ( | Db & | db, | |
| const std::string & | dictObjFileName, | |||
| const std::string & | dictName, | |||
| const std::string & | ns = std::string() | |||
| ) |
| XmlOutput::~XmlOutput | ( | ) | [virtual] |
| void XmlOutput::_WriteTable | ( | std::ostream & | io, | |
| ISTable * | tIn, | |||
| std::vector< unsigned int > & | widths, | |||
| const bool | reCalcWidth = false, |
|||
| const std::vector< eTypeCode > & | typeCodes = std::vector< eTypeCode >(0) | |||
| ) | [protected, virtual] |
Reimplemented from DbOutput.
| void XmlOutput::WriteData | ( | Block & | block, | |
| const std::string & | path = std::string() | |||
| ) | [virtual] |
Reimplemented from DbOutput.
| void XmlOutput::WriteSchema | ( | const std::string & | path = std::string() |
) | [virtual] |
Reimplemented from DbOutput.
const string XmlOutput::_BASE_SCHEMA_FILE = "DB_LOADER_SCHEMA_XML" [static, private] |
DictObjCont* XmlOutput::_dictObjContP [private] |
DictObjFile* XmlOutput::_dictObjFileP [private] |
DictParentChild* XmlOutput::_dictParentChildP [private] |
std::string XmlOutput::_ns [private] |
SchemaDataInfo* XmlOutput::_schemaDataInfoP [private] |
1.4.7