|
FreeHEP API Version v1.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
HepRepInstanceTree interface.
Method Summary | |
void |
addInstance(HepRepInstance instance)
Adds an instance to this instancetree. |
void |
addInstanceTree(HepRepTreeID instanceTree)
Adds a related instance tree to this instancetree. |
HepRepInstanceTree |
copy(HepRep heprep)
Returns a deep copy of this instancetree. |
HepRepInstanceTree |
copy(HepRep heprep,
HepRepSelectFilter filter)
Returns a deep copy of this instancetree. |
Collection |
getInstances()
Returns a collection of instances. |
Collection |
getInstanceTrees()
Returns a collection of associated instance trees. |
HepRepTreeID |
getTypeTree()
Returns the associated typetree. |
void |
removeInstance(HepRepInstance instance)
Removes an instance from this instancetree. |
Methods inherited from interface hep.graphics.heprep.HepRepTreeID |
copy, getName, getQualifier, getVersion, setQualifier |
Method Detail |
public void addInstance(HepRepInstance instance) throws IOException
instance
- to be added.
IOException
- only if written immediately to a stream.public void removeInstance(HepRepInstance instance)
instance
- to be removed.public Collection getInstances()
public void addInstanceTree(HepRepTreeID instanceTree) throws IOException
instanceTree
- related instancetree.
IOException
- only if written immediately to a stream.public Collection getInstanceTrees()
public HepRepTreeID getTypeTree()
public HepRepInstanceTree copy(HepRep heprep) throws CloneNotSupportedException
heprep
- needed to find the associated type.
CloneNotSupportedException
- if copying is not possible.public HepRepInstanceTree copy(HepRep heprep, HepRepSelectFilter filter) throws CloneNotSupportedException
heprep
- needed to find the associated type.filter
- to filter the instances.
CloneNotSupportedException
- if copying is not possible.
|
FreeHEP API Version v1.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |