org.jacorb.idl
public class ArrayTypeSpec extends VectorType
Version: $Id: ArrayTypeSpec.java,v 1.33 2007/02/06 22:50:35 andre.spiegel Exp $
Field Summary | |
---|---|
int[] | dims |
Constructor Summary | |
---|---|
ArrayTypeSpec(int num, TypeSpec elem, ArrayDeclarator ad, String pack_name) |
Method Summary | |
---|---|
String | className() |
Object | clone()
clone this ArrayTypeSpec. |
int | getTCKind() |
String | getTypeCodeExpression() |
String | helperName() |
String | holderName() |
int | length() |
void | markTypeDefd()
we have to be able to distinguish between explicitly typedef'd
type names and anonymously defined type names |
void | parse() |
void | print(PrintWriter _ps) |
void | printExtractResult(PrintWriter ps, String resultname, String anyname, String resulttype) |
void | printInsertIntoAny(PrintWriter ps, String anyname, String varname) |
String | printReadStatement(String var_name, String streamname) |
String | printWriteStatement(String var_name, String streamname) |
void | setEnclosingSymbol(IdlSymbol s) |
void | setPackage(String s) |
TypeSpec | typeSpec() |
Returns: a string for an expression of type TypeCode that describes this type Array and sequence types always have this expression inlined in their containing classes because arrays and sequences can be locally defined (e,g, in a struct) without there being helper classes (so Helper.type() is not an option)