org.jacorb.idl
public class UnionType extends TypeDeclaration implements Scope
Version: $Id: UnionType.java,v 1.62 2006/10/13 20:14:19 andre.spiegel Exp $
| Field Summary | |
|---|---|
| SwitchBody | switch_body |
| TypeSpec | switch_type_spec the union's discriminator's type spec |
| Constructor Summary | |
|---|---|
| UnionType(int num) | |
| Method Summary | |
|---|---|
| void | accept(IDLTreeVisitor visitor) |
| boolean | basic() |
| String | className() |
| Object | clone() |
| TypeDeclaration | declaration() |
| ScopeData | getScopeData() |
| String | getTypeCodeExpression() |
| String | getTypeCodeExpression(Set knownTypes) |
| String | holderName() |
| void | parse() |
| void | print(PrintWriter ps) generate required classes |
| void | printExtractResult(PrintWriter ps, String resultname, String anyname, String resulttype) |
| void | printHolderClass(String className, PrintWriter ps) |
| void | printInsertIntoAny(PrintWriter ps, String anyname, String varname) |
| String | printReadExpression(String Streamname) |
| String | printWriteStatement(String var_name, String streamname) |
| void | setEnclosingSymbol(IdlSymbol s) |
| void | setPackage(String s) |
| void | setScopeData(ScopeData data) |
| void | setSwitchBody(SwitchBody sb) |
| void | setSwitchType(TypeSpec s) |
| void | set_included(boolean i) |
| String | typeName() |
Returns: a string for an expression of type TypeCode that describes this type