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

#include <HepRepFactory.h>

HEPREP::HepRepFactory에 대한 상속 다이어그램 :
cheprep::DefaultHepRepFactory cheprep::XMLHepRepFactory

Public 멤버 함수

virtual ~HepRepFactory ()
 Destructor. 더 자세히 ...
 
virtual HepRepReadercreateHepRepReader (std::istream *in)=0
 
virtual HepRepReadercreateHepRepReader (std::string inputFileName)=0
 
virtual HepRepWritercreateHepRepWriter (std::ostream *out, bool randomAccess, bool compress)=0
 
virtual HepRepPointcreateHepRepPoint (HepRepInstance *instance, double x, double y, double z)=0
 
virtual HepRepInstancecreateHepRepInstance (HepRepInstance *parent, HepRepType *type)=0
 
virtual HepRepInstancecreateHepRepInstance (HepRepInstanceTree *parent, HepRepType *type)=0
 
virtual HepRepTreeIDcreateHepRepTreeID (std::string name, std::string version, std::string qualifier="top-level")=0
 
virtual HepRepActioncreateHepRepAction (std::string name, std::string expression)=0
 
virtual HepRepInstanceTreecreateHepRepInstanceTree (std::string name, std::string version, HepRepTreeID *typeTree)=0
 
virtual HepRepTypecreateHepRepType (HepRepTypeTree *parent, std::string name)=0
 
virtual HepRepTypecreateHepRepType (HepRepType *parent, std::string name)=0
 
virtual HepRepTypeTreecreateHepRepTypeTree (HepRepTreeID *treeID)=0
 
virtual HepRepcreateHepRep ()=0
 

상세한 설명

HepRepFactory interface.

작성자
Mark Donszelmann

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

생성자 & 소멸자 문서화

virtual HEPREP::HepRepFactory::~HepRepFactory ( )
inlinevirtual

Destructor.

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

멤버 함수 문서화

virtual HepRep* HEPREP::HepRepFactory::createHepRep ( )
pure virtual

Creates a HepRep.

cheprep::DefaultHepRepFactory에서 구현되었습니다.

다음에 의해서 참조됨 : G4HepRepSceneHandler::getHepRep(), G4HepRepSceneHandler::getHepRepGeometry().

virtual HepRepAction* HEPREP::HepRepFactory::createHepRepAction ( std::string  name,
std::string  expression 
)
pure virtual

Creates a HepRepAction.

매개변수
nameof the action.
expressionof the action.

cheprep::DefaultHepRepFactory에서 구현되었습니다.

virtual HepRepInstance* HEPREP::HepRepFactory::createHepRepInstance ( HepRepInstance parent,
HepRepType type 
)
pure virtual
virtual HepRepInstance* HEPREP::HepRepFactory::createHepRepInstance ( HepRepInstanceTree parent,
HepRepType type 
)
pure virtual

Creates a HepRepInstance.

to add the instance to. type the associated type.

cheprep::DefaultHepRepFactory에서 구현되었습니다.

virtual HepRepInstanceTree* HEPREP::HepRepFactory::createHepRepInstanceTree ( std::string  name,
std::string  version,
HepRepTreeID typeTree 
)
pure virtual

Creates a HepRepInstanceTree.

The tree needs to be added to the HepRep.

매개변수
nameof the instancetree.
versionof the instancetree.
typeTreeassociated typetree.

cheprep::DefaultHepRepFactory에서 구현되었습니다.

다음에 의해서 참조됨 : G4HepRepSceneHandler::getEventInstanceTree(), G4HepRepSceneHandler::getGeometryInstanceTree().

virtual HepRepPoint* HEPREP::HepRepFactory::createHepRepPoint ( HepRepInstance instance,
double  x,
double  y,
double  z 
)
pure virtual

Creates a HepRepPoint.

매개변수
instanceto add the point to.
xx coordinate of point.
yy coordinate of point.
zz coordinate of point.

cheprep::DefaultHepRepFactory에서 구현되었습니다.

다음에 의해서 참조됨 : G4HepRepSceneHandler::AddPrimitive(), G4HepRepSceneHandler::AddSolid().

virtual HepRepReader* HEPREP::HepRepFactory::createHepRepReader ( std::istream *  in)
pure virtual

Creates a HepRepReader from a stream.

매개변수
ininput stream.

cheprep::DefaultHepRepFactory, cheprep::XMLHepRepFactory에서 구현되었습니다.

virtual HepRepReader* HEPREP::HepRepFactory::createHepRepReader ( std::string  inputFileName)
pure virtual

Creates a HepRepReader from a file name.

매개변수
inputFileNamefile name.

cheprep::DefaultHepRepFactory, cheprep::XMLHepRepFactory에서 구현되었습니다.

virtual HepRepTreeID* HEPREP::HepRepFactory::createHepRepTreeID ( std::string  name,
std::string  version,
std::string  qualifier = "top-level" 
)
pure virtual

Creates a HepRepTreeID.

매개변수
nameof the treeID.
versionof the treeID.
qualifierof the treeID.

cheprep::DefaultHepRepFactory에서 구현되었습니다.

다음에 의해서 참조됨 : G4HepRepSceneHandler::closeHepRep(), G4HepRepSceneHandler::getEventTypeTree(), G4HepRepSceneHandler::getGeometryTypeTree().

virtual HepRepType* HEPREP::HepRepFactory::createHepRepType ( HepRepTypeTree parent,
std::string  name 
)
pure virtual
virtual HepRepType* HEPREP::HepRepFactory::createHepRepType ( HepRepType parent,
std::string  name 
)
pure virtual

Creates a HepRepType.

매개변수
parentto add this type to.
nameof the type to create.

cheprep::DefaultHepRepFactory에서 구현되었습니다.

virtual HepRepTypeTree* HEPREP::HepRepFactory::createHepRepTypeTree ( HepRepTreeID treeID)
pure virtual

Creates a HepRepTypeTree.

The tree needs to be added to the HepRep.

매개변수
treeIDto name the tree being created.

cheprep::DefaultHepRepFactory에서 구현되었습니다.

다음에 의해서 참조됨 : G4HepRepSceneHandler::getEventTypeTree(), G4HepRepSceneHandler::getGeometryTypeTree().

virtual HepRepWriter* HEPREP::HepRepFactory::createHepRepWriter ( std::ostream *  out,
bool  randomAccess,
bool  compress 
)
pure virtual

Creates a HepRepWriter.

매개변수
outoutput stream.
randomAccesscreate a writer in a format that will allow random access (may be ignored).
compresscreate a writer that uses compression (may be ignored).

cheprep::DefaultHepRepFactory, cheprep::XMLHepRepFactory에서 구현되었습니다.

다음에 의해서 참조됨 : G4HepRepSceneHandler::open(), G4HepRepSceneHandler::openFile().


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