Geant4  v4-10.4-release
 모두 클래스 네임스페이스들 파일들 함수 변수 타입정의 열거형 타입 열거형 멤버 Friends 매크로 그룹들 페이지들
Public 멤버 함수 | 모든 멤버 목록
HEPREP::HepRepReader 클래스 참조abstract

#include <HepRepReader.h>

Public 멤버 함수

virtual ~HepRepReader ()
 Destructor. 더 자세히 ...
 
virtual std::string getProperty (std::string key, std::string defaultValue)=0
 
virtual bool close ()=0
 
virtual bool hasRandomAccess ()=0
 
virtual HepRepread (std::string name)=0
 
virtual std::string entryName ()=0
 
virtual std::vector< std::string > entryNames ()=0
 
virtual bool hasSequentialAccess ()=0
 
virtual bool reset ()=0
 
virtual int size ()=0
 
virtual int skip (int n)=0
 
virtual bool hasNext ()=0
 
virtual HepRepnext ()=0
 

상세한 설명

HepRepReader interface.

작성자
Mark Donszelmann

HepRepReader.h 파일의 24 번째 라인에서 정의되었습니다.

생성자 & 소멸자 문서화

virtual HEPREP::HepRepReader::~HepRepReader ( )
inlinevirtual

Destructor.

HepRepReader.h 파일의 28 번째 라인에서 정의되었습니다.

멤버 함수 문서화

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).

매개변수
keyproperty name
defaultValuevalue 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).

매개변수
namefor 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.

매개변수
nnumber of HepReps to be skipped.
반환값
number of HepReps skipped.

이 클래스에 대한 문서화 페이지는 다음의 파일로부터 생성되었습니다.: