#include <HepRepReader.h>
HepRepReader interface.
- 작성자
- Mark Donszelmann
HepRepReader.h 파일의 24 번째 라인에서 정의되었습니다.
virtual HEPREP::HepRepReader::~HepRepReader |
( |
| ) |
|
|
inlinevirtual |
virtual bool HEPREP::HepRepReader::close |
( |
| ) |
|
|
pure virtual |
Closes the reader and its underlying stream.
- 반환값
- false in case of a stream problem.
virtual std::string HEPREP::HepRepReader::entryName |
( |
| ) |
|
|
pure virtual |
Returns the current entry name (random acces only).
- 반환값
- name of the current entry or null if not supported.
virtual std::vector<std::string> HEPREP::HepRepReader::entryNames |
( |
| ) |
|
|
pure virtual |
Returns a list of names of available entries (random rccess only). Zip files may contain instructions to skip a number of files. These files will not be included in the entries.
- 반환값
- list of entrynames or null if not supported.
virtual std::string HEPREP::HepRepReader::getProperty |
( |
std::string |
key, |
|
|
std::string |
defaultValue |
|
) |
| |
|
pure virtual |
Returns a property (if set in the heprep.properties file).
- 매개변수
-
key | property name |
defaultValue | value if property not found |
virtual bool HEPREP::HepRepReader::hasNext |
( |
| ) |
|
|
pure virtual |
Is there a next heprep.
- 반환값
- true if the next heprep is available.
virtual bool HEPREP::HepRepReader::hasRandomAccess |
( |
| ) |
|
|
pure virtual |
Allows random access.
- 반환값
- true if this reader provides random access
virtual bool HEPREP::HepRepReader::hasSequentialAccess |
( |
| ) |
|
|
pure virtual |
Allows for sequential access.
- 반환값
- true if sequential access is possible.
virtual HepRep* HEPREP::HepRepReader::next |
( |
| ) |
|
|
pure virtual |
Reads the next HepRep from the Reader.
- 반환값
- heprep.
virtual HepRep* HEPREP::HepRepReader::read |
( |
std::string |
name | ) |
|
|
pure virtual |
Reads a HepRep by name (random access only).
- 매개변수
-
name | for the heprep to be read. |
- 반환값
- heprep.
virtual bool HEPREP::HepRepReader::reset |
( |
| ) |
|
|
pure virtual |
Resets a sequential HepRep reader.
- 반환값
- false in case of a stream problem.
virtual int HEPREP::HepRepReader::size |
( |
| ) |
|
|
pure virtual |
Returns the (estimated) number of HepReps in the reader. Zip files may contain instructions to skip a number of files. These files will not be included in the estimate.
- 반환값
- number of HepReps, or -1 if cannot be calculated.
virtual int HEPREP::HepRepReader::skip |
( |
int |
n | ) |
|
|
pure virtual |
Skips a number of HepReps in the reader. Zip files may contain instructions to skip a number of files. These files will not be included in the count to be skipped.
- 매개변수
-
n | number of HepReps to be skipped. |
- 반환값
- number of HepReps skipped.
이 클래스에 대한 문서화 페이지는 다음의 파일로부터 생성되었습니다.: