FreeHEP API
Version v1.2.2

hep.graphics.heprep
Interface HepRepTypeTree

All Superinterfaces:
HepRepTreeID
All Known Implementing Classes:
DefaultHepRepTypeTree, HepRepTypeTreeAdapter, HepRepTypeTreeAdapter

public interface HepRepTypeTree
extends HepRepTreeID

HepRepTypeTree interface.

Author:
Mark Donszelmann

Method Summary
 void addType(HepRepType type)
          Adds a type to this typetree.
 HepRepTypeTree copy()
          Returns a deep copy of this typetree.
 HepRepType getType(String fullName)
          Returns type
 Set getTypes()
          Returns a collection of all types in this tree.
 
Methods inherited from interface hep.graphics.heprep.HepRepTreeID
getName, getQualifier, getVersion, setQualifier
 

Method Detail

addType

public void addType(HepRepType type)
             throws IOException
Adds a type to this typetree.

Parameters:
type - to be added.
Throws:
IOException - only if written immediatelty to a stream.

getTypes

public Set getTypes()
Returns a collection of all types in this tree.

Returns:
collection of HepRepTypes.

getType

public HepRepType getType(String fullName)
Returns type


copy

public HepRepTypeTree copy()
                    throws CloneNotSupportedException
Returns a deep copy of this typetree.

Returns:
copy of this typetree.
Throws:
CloneNotSupportedException - if copying is not possible.

FreeHEP API
Version v1.2.2

Copyright © 2000-2003 FreeHEP, All Rights Reserved.