#ifndef ROOT_TXMLNode
#define ROOT_TXMLNode
#ifndef ROOT_TObject
#include "TObject.h"
#endif
#ifndef ROOT_TString
#include "TString.h"
#endif
class TList;
struct _xmlNode;
class TXMLNode : public TObject {
private:
_xmlNode *fXMLNode;
TXMLNode *fParent;
TXMLNode *fChildren;
TXMLNode *fNextNode;
TXMLNode *fPreviousNode;
TList *fAttrList;
public:
enum EXMLElementType {
kXMLElementNode = 1,
kXMLAttributeNode = 2,
kXMLTextNode = 3,
kXMLCommentNode = 8
};
TXMLNode(_xmlNode *node, TXMLNode* parent=0, TXMLNode* previous=0);
virtual ~TXMLNode();
EXMLElementType GetNodeType() const;
const char *GetNodeName() const;
TXMLNode *GetChildren();
TXMLNode *GetParent() const;
TXMLNode *GetNextNode();
TXMLNode *GetPreviousNode() const;
const char *GetContent() const;
const char *GetText() const;
TList *GetAttributes();
Bool_t HasChildren() const;
Bool_t HasNextNode() const;
Bool_t HasParent() const;
Bool_t HasPreviousNode() const;
Bool_t HasAttributes() const;
const char *GetNamespaceHref() const;
const char *GetNamespacePrefix() const;
ClassDef(TXMLNode,0);
};
#endif
ROOT page - Class index - Class Hierarchy - Top of the page
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.