#include <LibXmlDomDocumentHandler.hxx>
Definition at line 40 of file LibXmlDomDocumentHandler.hxx.
Public Types | |
typedef LibXmlDomWritingContext | WritingContext |
typedef LibXmlDomReadingContext | ReadingContext |
Public Member Functions | |
ReadingContext * | GetReadingContext () |
void | SetReadingContext (ReadingContext *context) |
WritingContext * | GetWritingContext () |
void | SetWritingContext (WritingContext *context) |
LibXmlDomDocumentHandler () | |
~LibXmlDomDocumentHandler () | |
void | setDocument (xmlpp::Document *document) |
void | selectPath (const char *path) |
xmlpp::Element * | getSelection () |
void | create (const char *rootName) |
void | read (std::istream &stream) |
void | writeDocument (std::ostream &os, bool useIndentation=false) |
void | writeSelection (std::ostream &os, bool useIndentation=false) |
Definition at line 43 of file LibXmlDomDocumentHandler.hxx.
Definition at line 44 of file LibXmlDomDocumentHandler.hxx.
CLAM::LibXmlDomDocumentHandler::LibXmlDomDocumentHandler | ( | ) | [inline] |
Definition at line 68 of file LibXmlDomDocumentHandler.hxx.
CLAM::LibXmlDomDocumentHandler::~LibXmlDomDocumentHandler | ( | ) | [inline] |
Definition at line 74 of file LibXmlDomDocumentHandler.hxx.
ReadingContext* CLAM::LibXmlDomDocumentHandler::GetReadingContext | ( | ) | [inline] |
Definition at line 45 of file LibXmlDomDocumentHandler.hxx.
void CLAM::LibXmlDomDocumentHandler::SetReadingContext | ( | ReadingContext * | context | ) | [inline] |
Definition at line 49 of file LibXmlDomDocumentHandler.hxx.
WritingContext* CLAM::LibXmlDomDocumentHandler::GetWritingContext | ( | ) | [inline] |
Definition at line 53 of file LibXmlDomDocumentHandler.hxx.
void CLAM::LibXmlDomDocumentHandler::SetWritingContext | ( | WritingContext * | context | ) | [inline] |
Definition at line 57 of file LibXmlDomDocumentHandler.hxx.
void CLAM::LibXmlDomDocumentHandler::setDocument | ( | xmlpp::Document * | document | ) | [inline] |
void CLAM::LibXmlDomDocumentHandler::selectPath | ( | const char * | path | ) | [inline] |
Definition at line 83 of file LibXmlDomDocumentHandler.hxx.
xmlpp::Element* CLAM::LibXmlDomDocumentHandler::getSelection | ( | ) | [inline] |
Definition at line 91 of file LibXmlDomDocumentHandler.hxx.
Referenced by CLAM::LibXmlDomReadingContext::LibXmlDomReadingContext(), and CLAM::LibXmlDomWritingContext::LibXmlDomWritingContext().
void CLAM::LibXmlDomDocumentHandler::create | ( | const char * | rootName | ) | [inline] |
void CLAM::LibXmlDomDocumentHandler::read | ( | std::istream & | stream | ) | [inline] |
Definition at line 103 of file LibXmlDomDocumentHandler.hxx.
References CLAM::LibXmlDomReader::adoptParser(), CLAM::LibXmlDomReader::read(), and setDocument().
void CLAM::LibXmlDomDocumentHandler::writeDocument | ( | std::ostream & | os, | |
bool | useIndentation = false | |||
) | [inline] |
Definition at line 111 of file LibXmlDomDocumentHandler.hxx.
References CLAM::LibXmlDomWriter::DoIndentedFormat(), and CLAM::LibXmlDomWriter::write().
void CLAM::LibXmlDomDocumentHandler::writeSelection | ( | std::ostream & | os, | |
bool | useIndentation = false | |||
) | [inline] |
Definition at line 117 of file LibXmlDomDocumentHandler.hxx.
References CLAM::LibXmlDomWriter::DoIndentedFormat(), and CLAM::LibXmlDomWriter::write().