Geant4_10
Public Member Functions | List of all members
cheprep::XMLHepRepFactory Class Reference

#include <XMLHepRepFactory.h>

Inheritance diagram for cheprep::XMLHepRepFactory:
Inheritance graph
[legend]
Collaboration diagram for cheprep::XMLHepRepFactory:
Collaboration graph
[legend]

Public Member Functions

 XMLHepRepFactory ()
 
 ~XMLHepRepFactory ()
 
HEPREP::HepRepReadercreateHepRepReader (std::istream *in)
 
HEPREP::HepRepReadercreateHepRepReader (std::string filename)
 
HEPREP::HepRepWritercreateHepRepWriter (std::ostream *out, bool randomAccess, bool compress)
 
- Public Member Functions inherited from cheprep::DefaultHepRepFactory
 DefaultHepRepFactory ()
 
 ~DefaultHepRepFactory ()
 
HEPREP::HepRepPointcreateHepRepPoint (HEPREP::HepRepInstance *instance, double x, double y, double z)
 
HEPREP::HepRepInstancecreateHepRepInstance (HEPREP::HepRepInstance *parent, HEPREP::HepRepType *type)
 
HEPREP::HepRepInstancecreateHepRepInstance (HEPREP::HepRepInstanceTree *parent, HEPREP::HepRepType *type)
 
HEPREP::HepRepTreeIDcreateHepRepTreeID (std::string name, std::string version, std::string qualifier="top-level")
 
HEPREP::HepRepActioncreateHepRepAction (std::string name, std::string expression)
 
HEPREP::HepRepInstanceTreecreateHepRepInstanceTree (std::string name, std::string version, HEPREP::HepRepTreeID *typeTreeID)
 
HEPREP::HepRepTypecreateHepRepType (HEPREP::HepRepType *parent, std::string name)
 
HEPREP::HepRepTypecreateHepRepType (HEPREP::HepRepTypeTree *parent, std::string name)
 
HEPREP::HepRepTypeTreecreateHepRepTypeTree (HEPREP::HepRepTreeID *treeID)
 
HEPREP::HepRepcreateHepRep ()
 
- Public Member Functions inherited from HEPREP::HepRepFactory
virtual ~HepRepFactory ()
 Destructor. More...
 

Detailed Description

Definition at line 19 of file XMLHepRepFactory.h.

Constructor & Destructor Documentation

cheprep::XMLHepRepFactory::XMLHepRepFactory ( )

Definition at line 19 of file XMLHepRepFactory.cc.

cheprep::XMLHepRepFactory::~XMLHepRepFactory ( )

Definition at line 22 of file XMLHepRepFactory.cc.

Member Function Documentation

HEPREP::HepRepReader* cheprep::XMLHepRepFactory::createHepRepReader ( std::istream *  in)
virtual

Creates a HepRepReader from a stream.

Parameters
ininput stream.

Reimplemented from cheprep::DefaultHepRepFactory.

HepRepReader * cheprep::XMLHepRepFactory::createHepRepReader ( std::string  inputFileName)
virtual

Creates a HepRepReader from a file name.

Parameters
inputFileNamefile name.

Reimplemented from cheprep::DefaultHepRepFactory.

Definition at line 30 of file XMLHepRepFactory.cc.

HepRepWriter * cheprep::XMLHepRepFactory::createHepRepWriter ( std::ostream *  out,
bool  randomAccess,
bool  compress 
)
virtual

Creates a HepRepWriter.

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

Reimplemented from cheprep::DefaultHepRepFactory.

Definition at line 35 of file XMLHepRepFactory.cc.


The documentation for this class was generated from the following files: