ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HepRepReader.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file HepRepReader.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_HEPREPREADER_H
8 #define HEPREP_HEPREPREADER_H 1
9 
10 // Copyright 2002-2004, Freehep.
11 
12 #include <string>
13 #include <vector>
14 
15 namespace HEPREP {
16 
17 class HepRep;
18 
24 class HepRepReader {
25 
26 public:
28  virtual ~HepRepReader() { /* nop */; }
29 
36  virtual std::string getProperty(std::string key, std::string defaultValue) = 0;
37 
43  virtual bool close() = 0;
44 
50  virtual bool hasRandomAccess() = 0;
51 
58  virtual HepRep * read(std::string name) = 0;
59 
65  virtual std::string entryName() = 0;
66 
74  virtual std::vector<std::string> entryNames() = 0;
75 
81  virtual bool hasSequentialAccess() = 0;
82 
88  virtual bool reset() = 0;
89 
97  virtual int size() = 0;
98 
107  virtual int skip(int n) = 0;
108 
114  virtual bool hasNext() = 0;
115 
121  virtual HepRep * next() = 0;
122 }; // class
123 } // namespace HEPREP
124 #endif /* ifndef HEPREP_HEPREPREADER_H */