org.jacorb.idl
public class StructType extends TypeDeclaration implements Scope
Version: $Id: StructType.java,v 1.55 2007/02/06 22:50:35 andre.spiegel Exp $
| Field Summary | |
|---|---|
| boolean | exc |
| MemberList | memberlist |
| Constructor Summary | |
|---|---|
| StructType(int num) | |
| Method Summary | |
|---|---|
| void | accept(IDLTreeVisitor visitor) |
| boolean | basic() |
| String | className() |
| Object | clone() |
| TypeDeclaration | declaration() |
| String | getIDLTypeName()
get this symbol's IDL type name |
| String | getJavaTypeName()
get this types's mapped Java name |
| ScopeData | getScopeData() |
| int | getTCKind() |
| String | getTypeCodeExpression() |
| String | getTypeCodeExpression(Set knownTypes) |
| String | helperName() |
| String | holderName() |
| boolean | isException() |
| void | parse() |
| void | print(PrintWriter ps)
Generates code from this AST class
|
| void | printExtractResult(PrintWriter ps, String resultname, String anyname, String resulttype) |
| 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 | set_included(boolean i) |
| void | set_memberlist(MemberList m) |
| String | toString() |
| String | typeName() |
Returns: a string for an expression of type TypeCode that describes this type
Returns: true if this struct represents an IDL exception
Parameters: ps not used, the necessary output streams to classes that receive code (e.g., helper and holder classes for the IDL/Java mapping, are created inside this method.