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

#include "/cvmfs/nova.opensciencegrid.org/externals/geant4/v4_10_4_p02ba/source/geant4.10.04.p02/source/visualization/HepRep/include/cheprep/XMLHepRepFactory.h"

Inheritance diagram for cheprep::XMLHepRepFactory:
cheprep::DefaultHepRepFactory HEPREP::HepRepFactory

Public Member Functions

 XMLHepRepFactory ()
 
 ~XMLHepRepFactory ()
 
HEPREP::HepRepReadercreateHepRepReader (std::istream *in)
 
HEPREP::HepRepReadercreateHepRepReader (std::string filename)
 
HEPREP::HepRepWritercreateHepRepWriter (std::ostream *out, bool randomAccess, bool compress)
 
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 ()
 

Detailed Description

Definition at line 19 of file XMLHepRepFactory.h.

Constructor & Destructor Documentation

cheprep::XMLHepRepFactory::XMLHepRepFactory ( )
cheprep::XMLHepRepFactory::~XMLHepRepFactory ( )

Member Function Documentation

HEPREP::HepRep* cheprep::DefaultHepRepFactory::createHepRep ( )
virtualinherited

Creates a HepRep.

Implements HEPREP::HepRepFactory.

HEPREP::HepRepAction* cheprep::DefaultHepRepFactory::createHepRepAction ( std::string  name,
std::string  expression 
)
virtualinherited

Creates a HepRepAction.

Parameters
nameof the action.
expressionof the action.

Implements HEPREP::HepRepFactory.

HEPREP::HepRepInstance* cheprep::DefaultHepRepFactory::createHepRepInstance ( HEPREP::HepRepInstance parent,
HEPREP::HepRepType type 
)
virtualinherited

Creates a HepRepInstance.

to add the instance to. type the associated type.

Implements HEPREP::HepRepFactory.

HEPREP::HepRepInstance* cheprep::DefaultHepRepFactory::createHepRepInstance ( HEPREP::HepRepInstanceTree parent,
HEPREP::HepRepType type 
)
virtualinherited

Creates a HepRepInstance.

to add the instance to. type the associated type.

Implements HEPREP::HepRepFactory.

HEPREP::HepRepInstanceTree* cheprep::DefaultHepRepFactory::createHepRepInstanceTree ( std::string  name,
std::string  version,
HEPREP::HepRepTreeID typeTree 
)
virtualinherited

Creates a HepRepInstanceTree.

The tree needs to be added to the HepRep.

Parameters
nameof the instancetree.
versionof the instancetree.
typeTreeassociated typetree.

Implements HEPREP::HepRepFactory.

HEPREP::HepRepPoint* cheprep::DefaultHepRepFactory::createHepRepPoint ( HEPREP::HepRepInstance instance,
double  x,
double  y,
double  z 
)
virtualinherited

Creates a HepRepPoint.

Parameters
instanceto add the point to.
xx coordinate of point.
yy coordinate of point.
zz coordinate of point.

Implements HEPREP::HepRepFactory.

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

Creates a HepRepReader from a stream.

Parameters
ininput stream.

Reimplemented from cheprep::DefaultHepRepFactory.

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

Creates a HepRepReader from a file name.

Parameters
inputFileNamefile name.

Reimplemented from cheprep::DefaultHepRepFactory.

HEPREP::HepRepTreeID* cheprep::DefaultHepRepFactory::createHepRepTreeID ( std::string  name,
std::string  version,
std::string  qualifier = "top-level" 
)
virtualinherited

Creates a HepRepTreeID.

Parameters
nameof the treeID.
versionof the treeID.
qualifierof the treeID.

Implements HEPREP::HepRepFactory.

HEPREP::HepRepType* cheprep::DefaultHepRepFactory::createHepRepType ( HEPREP::HepRepType parent,
std::string  name 
)
virtualinherited

Creates a HepRepType.

Parameters
parentto add this type to.
nameof the type to create.

Implements HEPREP::HepRepFactory.

HEPREP::HepRepType* cheprep::DefaultHepRepFactory::createHepRepType ( HEPREP::HepRepTypeTree parent,
std::string  name 
)
virtualinherited

Creates a HepRepType.

Parameters
parentto add this type to.
nameof the type to create.

Implements HEPREP::HepRepFactory.

HEPREP::HepRepTypeTree* cheprep::DefaultHepRepFactory::createHepRepTypeTree ( HEPREP::HepRepTreeID treeID)
virtualinherited

Creates a HepRepTypeTree.

The tree needs to be added to the HepRep.

Parameters
treeIDto name the tree being created.

Implements HEPREP::HepRepFactory.

HEPREP::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.


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