IDL sequences.
className
public String className()
clone
public Object clone()
- clone in interface TypeSpec
full_name
public String full_name()
- fully scoped IDL identifier
getNumber
public static int getNumber()
getTypeCodeExpression
public String getTypeCodeExpression()
- getTypeCodeExpression in interface TypeSpec
- a string for an expression of type TypeCode that describes this type
helperName
public String helperName()
- helperName in interface VectorType
holderName
public String holderName()
- holderName in interface VectorType
length
public int length()
- length in interface VectorType
parse
public void parse()
The parsing phase.
- parse in interface org.jacorb.idl.TemplateTypeSpec
print
public void print(PrintWriter _ps)
- print in interface TypeSpec
printReadStatement
public 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. In
the latter case, we have to generate marshalling code in-line
because there are no helpers for anonymous types
- printReadStatement in interface TypeSpec
printWriteStatement
public String printWriteStatement(String var_name,
String streamname)
- printWriteStatement in interface TypeSpec
setEnclosingSymbol
public void setEnclosingSymbol(IdlSymbol s)
- setEnclosingSymbol in interface TypeSpec
setPackage
public void setPackage(String s)
- setPackage in interface TypeSpec
typeSpec
public 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.
- typeSpec in interface TypeSpec