Dummy implementation of a DomDocumentHandler when XML is disabled. More...
#include <NullDomDocumentHandler.hxx>
Public Types | |
typedef NullDomWritingContext | WritingContext |
typedef NullDomReadingContext | ReadingContext |
Public Member Functions | |
ReadingContext * | GetReadingContext () |
void | SetReadingContext (ReadingContext *context) |
WritingContext * | GetWritingContext () |
void | SetWritingContext (WritingContext *context) |
NullDomDocumentHandler () | |
~NullDomDocumentHandler () | |
void | selectPath (const char *path) |
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) |
Dummy implementation of a DomDocumentHandler when XML is disabled.
Definition at line 34 of file NullDomDocumentHandler.hxx.
Definition at line 38 of file NullDomDocumentHandler.hxx.
Definition at line 37 of file NullDomDocumentHandler.hxx.
CLAM::NullDomDocumentHandler::NullDomDocumentHandler | ( | ) | [inline] |
Definition at line 59 of file NullDomDocumentHandler.hxx.
References CLAM_ASSERT.
CLAM::NullDomDocumentHandler::~NullDomDocumentHandler | ( | ) | [inline] |
Definition at line 63 of file NullDomDocumentHandler.hxx.
void CLAM::NullDomDocumentHandler::create | ( | const char * | rootName | ) | [inline] |
Definition at line 69 of file NullDomDocumentHandler.hxx.
Referenced by CLAM::XmlStorage::WriteSelection().
ReadingContext* CLAM::NullDomDocumentHandler::GetReadingContext | ( | ) | [inline] |
Definition at line 39 of file NullDomDocumentHandler.hxx.
WritingContext* CLAM::NullDomDocumentHandler::GetWritingContext | ( | ) | [inline] |
Definition at line 47 of file NullDomDocumentHandler.hxx.
void CLAM::NullDomDocumentHandler::read | ( | std::istream & | stream | ) | [inline] |
Definition at line 72 of file NullDomDocumentHandler.hxx.
void CLAM::NullDomDocumentHandler::selectPath | ( | const char * | path | ) | [inline] |
Definition at line 66 of file NullDomDocumentHandler.hxx.
Referenced by CLAM::XmlStorage::UseIndentation().
void CLAM::NullDomDocumentHandler::SetReadingContext | ( | ReadingContext * | context | ) | [inline] |
Definition at line 43 of file NullDomDocumentHandler.hxx.
void CLAM::NullDomDocumentHandler::SetWritingContext | ( | WritingContext * | context | ) | [inline] |
Definition at line 51 of file NullDomDocumentHandler.hxx.
Referenced by CLAM::XmlStorage::RestoreObject().
void CLAM::NullDomDocumentHandler::writeDocument | ( | std::ostream & | os, | |
bool | useIndentation = false | |||
) | [inline] |
Definition at line 75 of file NullDomDocumentHandler.hxx.
Referenced by CLAM::XmlStorage::DumpObject().
void CLAM::NullDomDocumentHandler::writeSelection | ( | std::ostream & | os, | |
bool | useIndentation = false | |||
) | [inline] |
Definition at line 78 of file NullDomDocumentHandler.hxx.
Referenced by CLAM::XmlStorage::WriteDocument().