10 #define FAIRXLMNODE_H_
17 #include <TXMLEngine.h>
48 TString
GetValue()
const {
return GetTitle(); };
87 void Copy(TXMLNode *node);
92 void SetValue(TString value) { SetTitle(value); };
159 std::unique_ptr<FairXMLNode> fRootNode;
162 void ExportNode(XMLNodePointer_t &nodePointer, TXMLEngine &engine,
const FairXMLNode &node)
const;
170 FairXMLFile(TString name =
"", TString mode =
"read");
Int_t GetNChildren() const
FairXMLNode * GetRootNode() const
Int_t GetNAttributes() const
ClassDef(FairXMLAttrib, 1)
FairXMLFile(TString name="", TString mode="read")
FairXMLNode(const FairXMLNode &other)
FairXMLAttrib * GetAttrib(TString name) const
void Copy(TXMLNode *node)
void SetValue(TString val)
FairXMLNode & operator=(const FairXMLNode &other)
void SetRootNode(FairXMLNode *node)
void AddChild(FairXMLNode *node)
FairXMLNode * GetChild(TString name, Int_t count=0) const
FairXMLAttrib(TString name, TString value)
void SetValue(TString value)
void CreateRootNode(TString name)
void AddAttrib(FairXMLAttrib *attrib)