org.jacorb.idl
public class SequenceType extends VectorType
Version: $Id: SequenceType.java,v 1.43 2006/07/13 10:41:56 alphonse.bendt Exp $
| Field Summary | |
|---|---|
| ConstExpr | max |
| Constructor Summary | |
|---|---|
| SequenceType(int num) | |
| Method Summary | |
|---|---|
| String | className() |
| Object | clone() |
| String | full_name() |
| static int | getNumber() |
| String | getTypeCodeExpression() |
| String | helperName() |
| String | holderName() |
| int | length() |
| void | parse()
The parsing phase. |
| void | print(PrintWriter out) read |
| void | printExtractResult(PrintWriter out, String resultname, String anyname, String resulttype) |
| void | printInsertIntoAny(PrintWriter out, String anyname, String varname) |
| String | printReadStatement(String var_name, String streamname)
We have to distinguish between sequence types that have been
explicitly declared as types with a typedef and those that
are declared as anonymous types in structs or unions. |
| String | printWriteStatement(String var_name, String streamname) |
| void | setEnclosingSymbol(IdlSymbol symbol) |
| void | setPackage(String pkg) |
| TypeSpec | typeSpec()
since the sequence type's name depends on a declarator
given in the typedef, the name varilabe has to be set explicitly
by the TypeDef object before this sequence type can
be used. |
Returns: a string for an expression of type TypeCode that describes this type