ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HepRepIterator.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file HepRepIterator.h
1 // -*- C++ -*-
2 // AID-GENERATED
3 // =========================================================================
4 // This class was generated by AID - Abstract Interface Definition
5 // DO NOT MODIFY, but use the org.freehep.aid.Aid utility to regenerate it.
6 // =========================================================================
7 #ifndef HEPREP_HEPREPITERATOR_H
8 #define HEPREP_HEPREPITERATOR_H 1
9 
10 // Copyright 2000-2005, FreeHEP.
11 
12 #include <string>
13 
14 namespace HEPREP {
15 
16 class HepRepAttributeListener;
17 class HepRepFrameListener;
18 class HepRepInstance;
19 
26 
27 public:
29  virtual ~HepRepIterator() { /* nop */; }
30 
36  virtual bool hasNext() = 0;
37 
43  virtual HepRepInstance * nextInstance() = 0;
44 
50  virtual void addHepRepAttributeListener(std::string name, HepRepAttributeListener * listener) = 0;
51 
57  virtual void removeHepRepAttributeListener(std::string name, HepRepAttributeListener * listener) = 0;
58 
64  virtual void addHepRepFrameListener(HepRepFrameListener * listener) = 0;
65 
71  virtual void removeHepRepFrameListener(HepRepFrameListener * listener) = 0;
72 
76  virtual bool drawAsFrame() = 0;
77 
84 // HepRepAttValue* getAttValue(String key);
85 }; // class
86 } // namespace HEPREP
87 #endif /* ifndef HEPREP_HEPREPITERATOR_H */