Geant4  9.6.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
cheprep::XMLHepRepWriter Class Reference

#include <XMLHepRepWriter.h>

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

Public Member Functions

 XMLHepRepWriter (std::ostream *out, bool randomAccess, bool compress)
 
 ~XMLHepRepWriter ()
 
bool addProperty (std::string key, std::string value)
 
bool close ()
 
bool write (HEPREP::HepRep *heprep, std::string name)
 
bool write (std::vector< std::string > layers)
 
bool write (HEPREP::HepRepTypeTree *typeTree)
 
bool write (HEPREP::HepRepType *type)
 
bool write (HEPREP::HepRepTreeID *treeID)
 
bool write (HEPREP::HepRepAction *action)
 
bool write (HEPREP::HepRepInstanceTree *instanceTree)
 
bool write (HEPREP::HepRepInstance *instance)
 
bool write (HEPREP::HepRepPoint *point)
 
bool write (HEPREP::HepRepAttribute *attribute)
 
bool write (HEPREP::HepRepDefinition *definition)
 
bool write (HEPREP::HepRepAttValue *attValue)
 
bool write (HEPREP::HepRepAttDef *attDef)
 
- Public Member Functions inherited from HEPREP::HepRepWriter
virtual ~HepRepWriter ()
 Destructor. More...
 

Detailed Description

Definition at line 38 of file XMLHepRepWriter.h.

Constructor & Destructor Documentation

cheprep::XMLHepRepWriter::XMLHepRepWriter ( std::ostream *  out,
bool  randomAccess,
bool  compress 
)

Definition at line 21 of file XMLHepRepWriter.cc.

cheprep::XMLHepRepWriter::~XMLHepRepWriter ( )

Definition at line 49 of file XMLHepRepWriter.cc.

Member Function Documentation

bool cheprep::XMLHepRepWriter::addProperty ( std::string  key,
std::string  value 
)
virtual

Adds a property, to be written to the HepRep file when closed.

Parameters
key
value
Returns
false in case of a stream problem.

Implements HEPREP::HepRepWriter.

Definition at line 54 of file XMLHepRepWriter.cc.

bool cheprep::XMLHepRepWriter::close ( )
virtual

Closes the writer and its underlying stream.

Returns
false in case of a stream problem.

Implements HEPREP::HepRepWriter.

Definition at line 59 of file XMLHepRepWriter.cc.

Here is the call graph for this function:

bool cheprep::XMLHepRepWriter::write ( HEPREP::HepRep heprep,
std::string  name 
)
virtual

Writes a HepRep.

Parameters
heprepto be written.
namefor the heprep to be written (for tagged access), may be ommited.
Returns
false in case of a stream problem.

Implements HEPREP::HepRepWriter.

Here is the caller graph for this function:

bool cheprep::XMLHepRepWriter::write ( std::vector< std::string >  layerOrder)
virtual

Writes the layerOrder.

Parameters
layerOrderto be written.
Returns
false in case of a stream problem.

Implements HEPREP::HepRepWriter.

bool cheprep::XMLHepRepWriter::write ( HEPREP::HepRepTypeTree typeTree)
virtual

Writes a HepRepTypeTree.

Parameters
typeTreeto be written.
Returns
false in case of a stream problem.

Implements HEPREP::HepRepWriter.

Definition at line 131 of file XMLHepRepWriter.cc.

Here is the call graph for this function:

bool cheprep::XMLHepRepWriter::write ( HEPREP::HepRepType type)
virtual

Writes a HepRepType.

Parameters
typeto be written.
Returns
false in case of a stream problem.

Implements HEPREP::HepRepWriter.

Definition at line 145 of file XMLHepRepWriter.cc.

Here is the call graph for this function:

bool cheprep::XMLHepRepWriter::write ( HEPREP::HepRepTreeID treeID)
virtual

Writes a HepRepTreeID.

Parameters
treeIDto be written.
Returns
false in case of a stream problem.

Implements HEPREP::HepRepWriter.

Definition at line 159 of file XMLHepRepWriter.cc.

Here is the call graph for this function:

bool cheprep::XMLHepRepWriter::write ( HEPREP::HepRepAction action)
virtual

Writes a HepRepAction.

Parameters
actionto be written.
Returns
false in case of a stream problem.

Implements HEPREP::HepRepWriter.

Definition at line 167 of file XMLHepRepWriter.cc.

Here is the call graph for this function:

bool cheprep::XMLHepRepWriter::write ( HEPREP::HepRepInstanceTree instanceTree)
virtual

Writes a HepRepInstanceTree.

Parameters
instanceTreeto be written.
Returns
false in case of a stream problem.

Implements HEPREP::HepRepWriter.

Definition at line 174 of file XMLHepRepWriter.cc.

Here is the call graph for this function:

bool cheprep::XMLHepRepWriter::write ( HEPREP::HepRepInstance instance)
virtual

Writes a HepRepInstance.

Parameters
instanceto be written.
Returns
false in case of a stream problem.

Implements HEPREP::HepRepWriter.

Definition at line 195 of file XMLHepRepWriter.cc.

Here is the call graph for this function:

bool cheprep::XMLHepRepWriter::write ( HEPREP::HepRepPoint point)
virtual

Writes a HepRepPoint.

Parameters
pointto be written.
Returns
false in case of a stream problem.

Implements HEPREP::HepRepWriter.

Definition at line 214 of file XMLHepRepWriter.cc.

Here is the call graph for this function:

bool cheprep::XMLHepRepWriter::write ( HEPREP::HepRepAttribute attribute)
virtual

Writes a HepRepAttribute.

Parameters
attributeto be written.
Returns
false in case of a stream problem.

Implements HEPREP::HepRepWriter.

Definition at line 228 of file XMLHepRepWriter.cc.

Here is the call graph for this function:

bool cheprep::XMLHepRepWriter::write ( HEPREP::HepRepDefinition definition)
virtual

Writes a HepRepDefinition.

Parameters
definitionto be written.
Returns
false in case of a stream problem.

Implements HEPREP::HepRepWriter.

Definition at line 241 of file XMLHepRepWriter.cc.

Here is the call graph for this function:

bool cheprep::XMLHepRepWriter::write ( HEPREP::HepRepAttValue attValue)
virtual

Writes a HepRepAttValue.

Parameters
attValueto be written.
Returns
false in case of a stream problem.

Implements HEPREP::HepRepWriter.

Definition at line 249 of file XMLHepRepWriter.cc.

Here is the call graph for this function:

bool cheprep::XMLHepRepWriter::write ( HEPREP::HepRepAttDef attDef)
virtual

Writes a HepRepAttDef.

Parameters
attDefto be written.
Returns
false in case of a stream problem.

Implements HEPREP::HepRepWriter.

Definition at line 278 of file XMLHepRepWriter.cc.

Here is the call graph for this function:


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