12#ifndef ROOT_TXMLParser 
   13#define ROOT_TXMLParser 
#define ClassDefOverride(name, id)
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char filename
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h Atom_t Int_t ULong_t ULong_t unsigned char prop_list Atom_t Atom_t Atom_t Time_t UChar_t len
 
Mother of all ROOT objects.
 
This is the ROOT implementation of the Qt object communication mechanism (see also http://www....
 
TXMLParser is an abstract class which interfaces with Libxml2.
 
TString fValidateWarning
Parse warning.
 
virtual void InitializeContext()
Initialize parser parameters, such as, disactivate non-standards libxml1 features,...
 
TXMLParser()
Initializes parser variables.
 
virtual Int_t ParseBuffer(const char *contents, Int_t len)=0
 
virtual Int_t ParseFile(const char *filename)=0
 
virtual void SetParseCode(Int_t code)
Set the parse code:
 
Bool_t GetStopOnError() const
 
const char * GetValidateWarning() const
 
Int_t GetParseCode() const
 
const char * GetValidateError() const
 
_xmlParserCtxt * fContext
Parse the xml file.
 
Int_t fParseCode
To keep track of the errorcodes.
 
void SetValidate(Bool_t val=kTRUE)
The parser will validate the xml file if val = true.
 
TString fValidateError
Parse error.
 
void SetReplaceEntities(Bool_t val=kTRUE)
The parser will replace/expand entities.
 
virtual void ReleaseUnderlying()
To release any existing document.
 
Bool_t GetValidate() const
 
Bool_t fValidate
To validate the parse context.
 
Bool_t GetReplaceEntities() const
 
TXMLParser & operator=(const TXMLParser &)=delete
 
const char * GetParseCodeMessage(Int_t parseCode) const
Returns the parse code message.
 
virtual void OnValidateWarning(const TString &message)
This function is called when a warning from the parser has occurred.
 
void SetStopOnError(Bool_t stop=kTRUE)
Set parser stops in case of error:
 
Bool_t fReplaceEntities
Replace entities.
 
virtual void StopParser()
Stops parsing.
 
virtual void OnValidateError(const TString &message)
This function is called when an error from the parser has occurred.
 
TXMLParser(const TXMLParser &)=delete
 
Bool_t fStopError
Stop when parse error occurs.
 
~TXMLParser() override
Cleanup.