1 /*
2  * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
3  * Copyright (C) 2012 - Scilab Enterprises - Calixte DENIZET
4  *
5  * Copyright (C) 2012 - 2016 - Scilab Enterprises
6  *
7  * This file is hereby licensed under the terms of the GNU GPL v2.0,
8  * pursuant to article 5.3.4 of the CeCILL v.2.1.
9  * This file was originally licensed under the terms of the CeCILL v2.1,
10  * and continues to be available under such terms.
11  * For more information, see the COPYING file which you should have received
12  * along with this program.
13  *
14  */
15 
16 #ifndef __XMLNOTHANDLEDELEMENT_HXX__
17 #define __XMLNOTHANDLEDELEMENT_HXX__
18 
19 #include <string>
20 
21 #include "xml.h"
22 
23 namespace org_modules_xml
24 {
25 class XMLObject;
26 
27 /**
28  * @file
29  * @author Calixte DENIZET <calixte.denizet@scilab.org>
30  *
31  * Class for not handled nodes.
32  */
33 class XMLNotHandledElement: public XMLObject
34 {
35     const XMLObject & parent;
36     xmlNode *node;
37 
38 public:
39     /**
40      * Default constructor
41      * @param parent the parent
42      * @param node the not handled node
43      */
44     XMLNotHandledElement(const XMLObject & parent, xmlNode * node);
45 
46     ~XMLNotHandledElement();
47 
48     void *getRealXMLPointer() const;
49 
50     const XMLObject *getXMLObjectParent() const;
51     const std::string toString() const;
52 };
53 }
54 
55 #endif
56