de.upb.hni.vmagic.annotation
Class OptionalIsFormat

java.lang.Object
  extended by de.upb.hni.vmagic.annotation.OptionalIsFormat

public class OptionalIsFormat
extends java.lang.Object

Optional is keyword format annotation. This class is used to change the output of VHDL constructs with an optional is keyword.


Constructor Summary
OptionalIsFormat(boolean useIs)
          Creates a optional is format annotation.
 
Method Summary
 boolean isUseIs()
          Returns if the optional is keyword is added to the output.
 void setUseIs(boolean useIs)
          Sets if the optional is keyword should be added to the output
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OptionalIsFormat

public OptionalIsFormat(boolean useIs)
Creates a optional is format annotation.

Parameters:
useIs - true, if the optional is should be added to the output
Method Detail

isUseIs

public boolean isUseIs()
Returns if the optional is keyword is added to the output.

Returns:
true, if the optional is is added

setUseIs

public void setUseIs(boolean useIs)
Sets if the optional is keyword should be added to the output

Parameters:
useIs - true, if the optional is should be added