#ifndef JLIST_HH #define JLIST_HH #ifndef HEPHIST_H #include "HepTuple/HepHist.h" #endif #include "tag.hh" // histogram types class li; // list item class JList { public: JList(); void add(HepHist*, histType); void del(int HistNumber); void print(); HepHist* getPtr(int HistNumber); histType getType(int HistNumber); ~JList(); private: li* headPtr; int total; }; // list item class li { friend class JList; public: li(HepHist*, histType); ~li(); private: HepHist* h; int index; li* nextPtr; histType htype; }; #endif