VR-Link API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
envXmlReader.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 1992-2010 VT MAK
3 ** All rights reserved.
4 ******************************************************************************/
5 
6 
10 
11 #ifndef envXmlReader_H_
12 #define envXmlReader_H_
13 
14 #include "envReader.h"
15 
16 typedef struct _xmlTextReader xmlTextReader;
17 
18 #ifdef DtUSE_UTILITIES_NAMESPACE
19 namespace DtUSE_UTILITIES_NAMESPACE
20 {
21 #endif
22 
23 
27 {
28 public:
29 
31  DtEnvXMLReader(bool useDtd = true);
32 
35 
37  virtual void useDtdValidation(bool useDtd = true);
38 
42  virtual DtEnvironment readFile(const DtString& filename,bool& success);
43 
46  virtual bool readMemory(DtEnvironment& environment,const char* memory,int size);
47 
48 protected:
52 
53  virtual bool readDoc(xmlTextReader * reader);
54  virtual void popRoot();
55  virtual void processNode(xmlTextReader * reader);
56  virtual void processElement(xmlTextReader * reader);
57 };
58 
59 #ifdef DtUSE_UTILITIES_NAMESPACE
60 }
61 #endif
62 
63 #endif

Document ID: Generated on Mon Feb 6 18:36:34 EST 2017 from SVN revision 173107
Copyright © 2005-2016 VT MÄK. All Rights Reserved (www.mak.com)