ALBA
mmuXMLDOM.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: ALBA (Agile Library for Biomedical Applications)
4 Module: mmuXMLDOM
5 Authors: Marco Petrone
6
7 Copyright (c) BIC
8 All rights reserved. See Copyright.txt or
9
10
11 This software is distributed WITHOUT ANY WARRANTY; without even
12 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
13 PURPOSE. See the above copyright notice for more information.
14
15=========================================================================*/
16#ifndef __mmuXMLDOM_h__
17#define __mmuXMLDOM_h__
18
19#include "albaUtility.h"
20
21#include <xercesc/dom/DOM.hpp>
22#include <xercesc/util/PlatformUtils.hpp>
23#include <xercesc/util/XMLString.hpp>
24#include <xercesc/framework/LocalFileFormatTarget.hpp>
25#include <xercesc/dom/impl/DOMWriterImpl.hpp>
26#include <xercesc/parsers/XercesDOMParser.hpp>
27
28#ifdef XERCES_CPP_NAMESPACE_USE
29// XERCES_CPP_NAMESPACE_USE
30// SIL 12-apr-2006
31// removed XERCES_CPP_NAMESPACE_USE and added XERCES_CPP_NAMESPACE_QUALIFIER where required
32#endif
33
36//------------------------------------------------------------------------------
37// mmuXMLDOM
38//------------------------------------------------------------------------------
43class ALBA_EXPORT mmuXMLDOM: public albaUtility
44{
45public:
47 mmuXMLDOM(): m_XMLDoctype(NULL),m_XMLDoc(NULL),m_XMLNode(NULL), \
48 m_XMLImplement(NULL),m_XMLSerializer(NULL), \
49 m_XMLTarget(NULL),m_XMLParser(NULL) {}
50
51 XERCES_CPP_NAMESPACE_QUALIFIER DOMDocumentType *m_XMLDoctype;
52 XERCES_CPP_NAMESPACE_QUALIFIER DOMDocument *m_XMLDoc;
53 XERCES_CPP_NAMESPACE_QUALIFIER DOMNode *m_XMLNode;
54 XERCES_CPP_NAMESPACE_QUALIFIER DOMImplementation *m_XMLImplement;
55 XERCES_CPP_NAMESPACE_QUALIFIER DOMWriter *m_XMLSerializer;
56 XERCES_CPP_NAMESPACE_QUALIFIER XMLFormatTarget *m_XMLTarget;
57 XERCES_CPP_NAMESPACE_QUALIFIER XercesDOMParser *m_XMLParser;
58};
59
60#endif // _mmuXMLDOM_h_
albaUtility - the pourpose of this class is just to groups utilities classes
Definition: albaUtility.h:27
mmuXMLDOM utility class for PIMPL of XML DOM types.
Definition: mmuXMLDOM.h:44
XERCES_CPP_NAMESPACE_QUALIFIER DOMNode * m_XMLNode
Definition: mmuXMLDOM.h:53
XERCES_CPP_NAMESPACE_QUALIFIER DOMDocument * m_XMLDoc
Definition: mmuXMLDOM.h:52
XERCES_CPP_NAMESPACE_QUALIFIER XercesDOMParser * m_XMLParser
Definition: mmuXMLDOM.h:57
XERCES_CPP_NAMESPACE_QUALIFIER DOMWriter * m_XMLSerializer
Definition: mmuXMLDOM.h:55
XERCES_CPP_NAMESPACE_QUALIFIER DOMDocumentType * m_XMLDoctype
Definition: mmuXMLDOM.h:51
mmuXMLDOM()
constructor
Definition: mmuXMLDOM.h:47
XERCES_CPP_NAMESPACE_QUALIFIER DOMImplementation * m_XMLImplement
Definition: mmuXMLDOM.h:54
XERCES_CPP_NAMESPACE_QUALIFIER XMLFormatTarget * m_XMLTarget
Definition: mmuXMLDOM.h:56