de.upb.hni.vmagic.annotation
Class InterfaceDeclarationFormat

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

public class InterfaceDeclarationFormat
extends java.lang.Object

Interface declaration format annotation. The interface declaration format annotation is used to customize the VHDL output of interface declarations. The options only affect cases where the mode and/or object class are optional. The mode and/or object class are automatically added to the output if they are semantically necessary.


Constructor Summary
InterfaceDeclarationFormat(boolean useObjectClass, boolean useMode)
          Creates a interface declaration format annotation.
 
Method Summary
 boolean isUseMode()
          Returns if the mode is always included in the output.
 boolean isUseObjectClass()
          Returns if the object class is always included in the output.
 void setUseMode(boolean useMode)
          Sets if the mode should always be included in the output.
 void setUseObjectClass(boolean useObjectClass)
          Sets if the object class should always be included in the outup.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InterfaceDeclarationFormat

public InterfaceDeclarationFormat(boolean useObjectClass,
                                  boolean useMode)
Creates a interface declaration format annotation.

Parameters:
useObjectClass - true, if the object class should be outputted
useMode - true, if the mode should be included in the output
Method Detail

isUseMode

public boolean isUseMode()
Returns if the mode is always included in the output.

Returns:
true, if the mode is always included in the output

setUseMode

public void setUseMode(boolean useMode)
Sets if the mode should always be included in the output.

Parameters:
useMode - true, if the mode should always be included in the output

isUseObjectClass

public boolean isUseObjectClass()
Returns if the object class is always included in the output.

Returns:
true, if the object class is always included in the output

setUseObjectClass

public void setUseObjectClass(boolean useObjectClass)
Sets if the object class should always be included in the outup.

Parameters:
useObjectClass - true, if the object class should always be included