hades.utils
Class SignalEnumerator

java.lang.Object
  extended byhades.utils.SignalEnumerator
All Implemented Interfaces:
java.util.Enumeration

public class SignalEnumerator
extends java.lang.Object
implements java.util.Enumeration

depth-first hierarchical enumeration of signals.


Field Summary
(package private)  java.util.Enumeration activeEnum
           
(package private)  java.util.Enumeration components
           
 
Constructor Summary
SignalEnumerator(Design design)
          construct a depth-first enumeration of all Signals in a hierarchical HADES Design.
 
Method Summary
 boolean hasMoreElements()
           
 java.lang.Object nextElement()
           
static java.lang.String printAllSignals(Design toplevel)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

activeEnum

java.util.Enumeration activeEnum

components

java.util.Enumeration components
Constructor Detail

SignalEnumerator

public SignalEnumerator(Design design)
construct a depth-first enumeration of all Signals in a hierarchical HADES Design. The Enumeration will start with the top-level signals. Afterwards, all signals of the subdesigns will be returned.

Method Detail

hasMoreElements

public boolean hasMoreElements()
Specified by:
hasMoreElements in interface java.util.Enumeration

nextElement

public java.lang.Object nextElement()
Specified by:
nextElement in interface java.util.Enumeration

printAllSignals

public static java.lang.String printAllSignals(Design toplevel)