Back to home page

EIC code displayed by LXR

 
 

    


Warning, file /include/root/TDOMParser.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

0001 // @(#)root/xmlparser:$Id$
0002 // Author: Jose Lo   12/4/2005
0003 
0004 /*************************************************************************
0005  * Copyright (C) 1995-2005, Rene Brun and Fons Rademakers.               *
0006  * All rights reserved.                                                  *
0007  *                                                                       *
0008  * For the licensing terms see $ROOTSYS/LICENSE.                         *
0009  * For the list of contributors see $ROOTSYS/README/CREDITS.             *
0010  *************************************************************************/
0011 
0012 #ifndef ROOT_TDOMParser
0013 #define ROOT_TDOMParser
0014 
0015 #include "TXMLParser.h"
0016 
0017 #include "TXMLDocument.h"
0018 
0019 
0020 class TDOMParser : public TXMLParser {
0021 
0022 private:
0023    TXMLDocument *fTXMLDoc;      ///< xmlDoc
0024 
0025    TDOMParser(const TDOMParser&) = delete;
0026    TDOMParser& operator=(const TDOMParser&) = delete;
0027    Int_t ParseContext();
0028 
0029 public:
0030    TDOMParser();
0031    ~TDOMParser() override;
0032 
0033    Int_t   ParseFile(const char *filename) override;
0034    Int_t   ParseBuffer(const char *buffer, Int_t len) override;
0035    void    ReleaseUnderlying() override;
0036 
0037    virtual TXMLDocument *GetXMLDocument() const;
0038 
0039    ClassDefOverride(TDOMParser, 0); // DOM Parser
0040 };
0041 
0042 #endif