hep.graphics.heprep
Interface HepRepWriter


public interface HepRepWriter

HepRepWriter interface.

Author:
Mark Donszelmann

Method Summary
 void addProperty(String key, String value)
          Adds a property, to be written to the HepRep file when closed.
 void close()
          Closes the writer and its underlying stream.
 void write(HepRepAction action)
          Writes a HepRepAction.
 void write(HepRepAttDef attDef)
          Writes a HepRepAttDef.
 void write(HepRepAttribute attribute)
          Writes a HepRepAttribute.
 void write(HepRepAttValue attValue)
          Writes a HepRepAttValue.
 void write(HepRepDefinition definition)
          Writes a HepRepDefinition.
 void write(HepRepInstance instance)
          Writes a HepRepInstance.
 void write(HepRepInstanceTree instanceTree)
          Writes a HepRepInstanceTree.
 void write(HepRepPoint point)
          Writes a HepRepPoint.
 void write(HepRep heprep, String name)
          Writes a HepRep.
 void write(HepRepTreeID treeID)
          Writes a HepRepTreeID.
 void write(HepRepType type)
          Writes a HepRepType.
 void write(HepRepTypeTree typeTree)
          Writes a HepRepTypeTree.
 void write(List layerOrder)
          Writes the layerOrder.
 

Method Detail

addProperty

void addProperty(String key,
                 String value)
                 throws IOException
Adds a property, to be written to the HepRep file when closed.

Parameters:
key -
value -
Throws:
IOException - in case of a stream problem.

close

void close()
           throws IOException
Closes the writer and its underlying stream.

Throws:
IOException - in case of a stream problem.

write

void write(HepRep heprep,
           String name)
           throws IOException
Writes a HepRep.

Parameters:
heprep - to be written.
name - for the heprep to be written (for tagged access), may be ommited.
Throws:
IOException - in case of a stream problem.

write

void write(List layerOrder)
           throws IOException
Writes the layerOrder.

Parameters:
layerOrder - to be written.
Throws:
IOException - in case of a stream problem.

write

void write(HepRepTypeTree typeTree)
           throws IOException
Writes a HepRepTypeTree.

Parameters:
typeTree - to be written.
Throws:
IOException - in case of a stream problem.

write

void write(HepRepType type)
           throws IOException
Writes a HepRepType.

Parameters:
type - to be written.
Throws:
IOException - in case of a stream problem.

write

void write(HepRepTreeID treeID)
           throws IOException
Writes a HepRepTreeID.

Parameters:
treeID - to be written.
Throws:
IOException - in case of a stream problem.

write

void write(HepRepAction action)
           throws IOException
Writes a HepRepAction.

Parameters:
action - to be written.
Throws:
IOException - in case of a stream problem.

write

void write(HepRepInstanceTree instanceTree)
           throws IOException
Writes a HepRepInstanceTree.

Parameters:
instanceTree - to be written.
Throws:
IOException - in case of a stream problem.

write

void write(HepRepInstance instance)
           throws IOException
Writes a HepRepInstance.

Parameters:
instance - to be written.
Throws:
IOException - in case of a stream problem.

write

void write(HepRepPoint point)
           throws IOException
Writes a HepRepPoint.

Parameters:
point - to be written.
Throws:
IOException - in case of a stream problem.

write

void write(HepRepAttribute attribute)
           throws IOException
Writes a HepRepAttribute.

Parameters:
attribute - to be written.
Throws:
IOException - in case of a stream problem.

write

void write(HepRepDefinition definition)
           throws IOException
Writes a HepRepDefinition.

Parameters:
definition - to be written.
Throws:
IOException - in case of a stream problem.

write

void write(HepRepAttValue attValue)
           throws IOException
Writes a HepRepAttValue.

Parameters:
attValue - to be written.
Throws:
IOException - in case of a stream problem.

write

void write(HepRepAttDef attDef)
           throws IOException
Writes a HepRepAttDef.

Parameters:
attDef - to be written.
Throws:
IOException - in case of a stream problem.


Copyright © 2000-2007 FreeHEP. All Rights Reserved.