00001 /* -*- mode: c++ -*- */ 00002 00015 #ifndef _HiNTupleXML_H_ 00016 #define _HiNTupleXML_H_ 00017 00018 #include "BaseXML.h" 00019 00020 namespace hippodraw { 00021 00022 class DataSource; 00023 00029 class MDL_HIPPOPLOT_API HiNTupleXML : virtual public BaseXML 00030 { 00031 00032 private: 00033 00035 HiNTupleXML ( const HiNTupleXML & ); 00036 00038 std::string m_name; 00039 00040 public: 00041 00043 HiNTupleXML ( XmlController * ); 00044 00047 XmlElement * createElement ( const DataSource & ntuple ); 00048 00051 const DataSource * getObject ( const XmlElement & tag ) const; 00052 00055 const DataSource * getObject ( const std::string ) const; 00056 00059 std::string getName ( const XmlElement & tag ) const; 00060 00061 }; 00062 00063 } // namespace hippodraw 00064 00065 #endif // _HiNTupleXML_H_