source: icXML/icXML-devel/src/icxmlc/XMLChildElement.hpp @ 2720

Last change on this file since 2720 was 2720, checked in by cameron, 6 years ago

Initial check-in of icXML 0.8 source files

File size: 879 bytes
Line 
1/*
2 *  Copyright © 2012 International Characters.
3 *  This software is licensed to the public under the Open Software License 3.0.
4 *  icXML is a trademark of International Characters.
5 */
6
7/*
8 * @author Nigel Medforth, nigelm -at- interational-characters.com
9 * @version $Id: XMLChildElement.hpp 207 2012-12-02 20:38:22Z robc $
10 *
11 */
12
13#ifndef XMLCHILDELEMENT_HPP
14#define XMLCHILDELEMENT_HPP
15
16#include <icxmlc/Array.hpp>
17#include <xercesc/util/QName.hpp>
18#include <icxmlc/XMLConfig.hpp>
19
20XERCES_CPP_NAMESPACE_BEGIN
21
22class XMLElement
23{
24
25public:
26
27        inline void set(const QName * element, unsigned int uriId)
28        {
29                this->element = element;
30                this->uriId = uriId;
31        }
32
33        inline bool equals(const QName * element) const
34        {
35                return (this->element == element);
36        }
37
38
39private:
40
41        const QName *                           element;
42        unsigned int                            uriId;
43};
44
45XERCES_CPP_NAMESPACE_END
46
47#endif // XMLCHILDELEMENT_HPP
Note: See TracBrowser for help on using the repository browser.