DomDocumentHandler.hxx
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #ifndef _DomDocumentHandler_hxx_
00022 #define _DomDocumentHandler_hxx_
00023
00046 #if defined USE_XERCES
00047 #include "XercesDomDocumentHandler.hxx"
00048 namespace CLAM
00049 {
00050 class DomDocumentHandler : public XercesDomDocumentHandler {};
00051 }
00052 #elif defined USE_XMLPP
00053 #include "LibXmlDomDocumentHandler.hxx"
00054 namespace CLAM
00055 {
00056 class DomDocumentHandler : public LibXmlDomDocumentHandler {};
00057 }
00058
00059 #elif !defined CLAM_USE_XML
00060 #include "NullDomDocumentHandler.hxx"
00061 namespace CLAM
00062 {
00063 class DomDocumentHandler : public NullDomDocumentHandler {};
00064 }
00065 #else
00066 #error CLAM_USE_XML active but no backend available (libxml++, xerces...)
00067 #endif//USE_XMLPP
00068
00104 #endif//_XercesDomDocumentHandler_hxx_
00105