forked from root-project/root
-
Notifications
You must be signed in to change notification settings - Fork 0
/
TDOMParser.h
46 lines (33 loc) · 1.28 KB
/
TDOMParser.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
// @(#)root/xmlparser:$Id$
// Author: Jose Lo 12/4/2005
/*************************************************************************
* Copyright (C) 1995-2005, Rene Brun and Fons Rademakers. *
* All rights reserved. *
* *
* For the licensing terms see $ROOTSYS/LICENSE. *
* For the list of contributors see $ROOTSYS/README/CREDITS. *
*************************************************************************/
#ifndef ROOT_TDOMParser
#define ROOT_TDOMParser
#ifndef ROOT_TXMLParser
#include "TXMLParser.h"
#endif
#ifndef ROOT_TXMLDocument
#include "TXMLDocument.h"
#endif
class TDOMParser : public TXMLParser {
private:
TXMLDocument *fTXMLDoc; ///< xmlDoc
TDOMParser(const TDOMParser&); // Not implemented
TDOMParser& operator=(const TDOMParser&); // Not implemented
Int_t ParseContext();
public:
TDOMParser();
virtual ~TDOMParser();
virtual Int_t ParseFile(const char *filename);
virtual Int_t ParseBuffer(const char *buffer, Int_t len);
virtual void ReleaseUnderlying();
virtual TXMLDocument *GetXMLDocument() const;
ClassDef(TDOMParser, 0); // DOM Parser
};
#endif