VR-Forces 4.6.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
vrfutil
baseXmlReader.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2008 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
/*******************************************************************************
6
** $RCSfile: baseXmlReader.h,v $ $Revision: 1.1 $ $State: Exp $
7
** Created: 4/7/08 MEM
8
*******************************************************************************/
9
10
#ifndef baseXmlReader_H_
11
#define baseXmlReader_H_
12
16
19
20
#include <vlutil/vlString.h>
21
#include <libxml/xmlreader.h>
22
35
36
#include "
vrfutil/vrfutilDefines.h
"
37
class
DT_DLL_vrfutil
DtBaseXmlReader
38
{
39
public
:
40
42
DtBaseXmlReader
();
43
44
DtBaseXmlReader
(
xmlNodePtr
root,
xmlNodePtr
node);
45
47
virtual
~
DtBaseXmlReader
();
48
50
DtBaseXmlReader
(
const
DtBaseXmlReader
& node);
51
53
DtBaseXmlReader
& operator=(
const
DtBaseXmlReader
& orig);
54
59
virtual
xmlNodePtr
findNode
(
xmlNodePtr
node,
const
char
* nodeName);
60
70
virtual
xmlNodePtr
findNode
(
xmlNodePtr
node,
const
char
* nodeName,
71
const
char
* attrName,
const
char
*attrValue);
72
82
virtual
DtString
getAttrValue(
xmlNodePtr
node,
const
char
* attrname)
const
;
83
89
virtual
DtString
getAtomicNodeValue(
xmlNodePtr
node,
const
char
* nodeName);
90
92
virtual
void
nextNode(
xmlNodePtr
& node);
93
95
virtual
xmlNodePtr
getRootNode() {
return
myRootNode; };
96
97
protected
:
98
99
xmlNodePtr
myRootNode;
100
xmlNodePtr
myCurNode
;
101
105
virtual
DtString
getAtomicNodeValue(
xmlNodePtr
node)
const
;
106
111
virtual
xmlNodePtr
getChildren(
xmlNodePtr
node)
const
;
112
113
};
114
115
#endif
Document ID: Generated on Wed Jul 25 16:57:45 EDT 2018 from SVN revision 190790
Copyright © 2005-2018 VT MÄK. All Rights Reserved (
www.mak.com
)