HDK
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
UT_XMLDomParser.h
Go to the documentation of this file.
1
/*
2
* PROPRIETARY INFORMATION. This software is proprietary to
3
* Side Effects Software Inc., and is not to be reproduced,
4
* transmitted, or disclosed in any way without written permission.
5
*
6
* NAME: UT_XMLDomParser.h ( Library, C++)
7
*
8
* COMMENTS:
9
* The DOM parser uses the libxml2 API documented at:
10
* http://xmlsoft.org/html/libxml-parser.html
11
* http://xmlsoft.org/html/libxml-tree.html
12
*
13
*/
14
15
#ifndef __UT_XMLDomParser__
16
#define __UT_XMLDomParser__
17
18
#include "
UT_API.h
"
19
#include "
UT_XMLParser.h
"
20
21
class
UT_XMLNode
;
22
23
class
UT_API
UT_XMLDomParser
:
public
UT_XMLParser
24
{
25
public
:
26
/// Standard constructor.
27
UT_XMLDomParser
();
28
29
/// Standard destructor.
30
~
UT_XMLDomParser
()
override
;
31
32
/// Return the root node of the document that was parsed.
33
/// Return NULL if the parse failed and no document was created
34
/// or if no parse has taken place.
35
UT_XMLNode
*getRootNode()
const
;
36
37
protected
:
38
/// Parse XML using the current context.
39
/// Return true on a successful parse. Return false otherwise.
40
bool
parseContextSubclass
()
override
;
41
42
private
:
43
void
clean();
44
UT_XMLNode
*myRootNode;
45
};
46
47
#endif
48
UT_API.h
UT_API
#define UT_API
Definition:
UT_API.h:14
UT_XMLParser.h
UT_XMLParser
Definition:
UT_XMLParser.h:25
UT_XMLNode
Definition:
UT_XMLNode.h:38
UT_XMLDomParser
Definition:
UT_XMLDomParser.h:23
UT_XMLParser::parseContextSubclass
virtual bool parseContextSubclass()=0
UT
UT_XMLDomParser.h
Generated on Tue Dec 17 2024 03:42:25 for HDK by
1.8.6