org.jacorb.idl
Class SwitchBody

java.lang.Object
  extended by org.jacorb.idl.runtime.symbol
      extended by org.jacorb.idl.IdlSymbol
          extended by org.jacorb.idl.SwitchBody

public class SwitchBody
extends IdlSymbol


Field Summary
 java.util.Vector caseListVector
          holds case list
 
Fields inherited from class org.jacorb.idl.IdlSymbol
_id, enclosing_symbol, fileSeparator, included, inhibitionFlag, is_pseudo, omg_package_prefix, pack_name
 
Fields inherited from class org.jacorb.idl.runtime.symbol
parse_state, sym
 
Constructor Summary
SwitchBody(int num)
           
 
Method Summary
 void parse()
          do the parsing
 void print(java.io.PrintWriter ps)
           
 void setEnclosingSymbol(IdlSymbol s)
           
 void setPackage(java.lang.String s)
           
 void setTypeSpec(TypeSpec s)
           
 void setUnion(UnionType ut)
          pass a reference to the containing union through to the case elements, which pass it on
 
Methods inherited from class org.jacorb.idl.IdlSymbol
accept, addImportedAlias, addImportedName, addImportedName, addImportedNameHolder, deEscapeName, escapeName, generateIncluded, get_token, getEnclosingSymbol, getFullName, id, is_included, is_pseudo, isEscaped, name, new_num, omgPrefix, printClassComment, printIdMethod, printImport, set_name, set_pseudo, set_token, setPrintPhaseNames
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

caseListVector

public java.util.Vector caseListVector
holds case list

Constructor Detail

SwitchBody

public SwitchBody(int num)
Method Detail

setTypeSpec

public void setTypeSpec(TypeSpec s)

setUnion

public void setUnion(UnionType ut)
pass a reference to the containing union through to the case elements, which pass it on


setEnclosingSymbol

public void setEnclosingSymbol(IdlSymbol s)
Overrides:
setEnclosingSymbol in class IdlSymbol

setPackage

public void setPackage(java.lang.String s)
Overrides:
setPackage in class IdlSymbol

parse

public void parse()
do the parsing

Overrides:
parse in class IdlSymbol

print

public void print(java.io.PrintWriter ps)
Overrides:
print in class IdlSymbol