VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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"
38 {
39 public:
40 
43 
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;
101 
105  virtual DtString getAtomicNodeValue(xmlNodePtr node) const;
106 
111  virtual xmlNodePtr getChildren(xmlNodePtr node) const;
112 
113 };
114 
115 #endif
xmlNodePtr myCurNode
Definition: baseXmlReader.h:100
Represents a reader class that interacts with libXml to read the Di-Guy character digest file...
Definition: baseXmlReader.h:37
DT_DLL_shape DtNetworkNode * findNode(DtVectorNetwork *vecNwk, unsigned int firstNode, DtPoint &p, DtSpecificationID ID)
xmlNode * xmlNodePtr
Definition: DtLightPointTable.h:20
#define DT_DLL_vrfutil
This file is used to determine how to build Disable inconsistent dll linkage warning Visual Studio 6...
Definition: vrfutilDefines.h:34

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)