org.jacorb.idl
Class VectorType
public abstract class VectorType
extends org.jacorb.idl.TemplateTypeSpec
Common super class for arrays and sequences
Version:
- Gerald Brose
basic , clone , getIDLTypeName , getJavaTypeName , getTypeCodeExpression , getTypeCodeExpression , holderName , parse , print , printExtractExpression , printInsertExpression , printReadExpression , printReadStatement , printWriteStatement , setEnclosingSymbol , setPackage , set_constr , toString , typeName , typeSpec |
accept , addImportedAlias , addImportedName , addImportedName , addImportedNameHolder , deEscapeName , escapeName , generateIncluded , getEnclosingSymbol , get_token , id , isEscaped , is_included , is_pseudo , name , new_num , omgPrefix , parse , print , printIdMethod , printImport , setEnclosingSymbol , setPackage , setPrintPhaseNames , set_name , set_pseudo , set_token |
VectorType
public VectorType(int num)
class constructor
elementTypeExpression
protected String elementTypeExpression()
elementTypeName
public String elementTypeName()
elementTypeSpec
public TypeSpec elementTypeSpec()
- the TypeSpec for the sequence's element type
helperName
public String helperName()
holderName
public String holderName()
- holderName in interface TypeSpec
length
public int length()
- the length of this array or sequence. For
multi-dimensional vectors, this is the outermost dimension.
For open sequences, this length is 0.
printReadExpression
public String printReadExpression(String streamname)
- printReadExpression in interface TypeSpec
setTypeSpec
public void setTypeSpec(org.jacorb.idl.SimpleTypeSpec sts)
toString
public String toString()
- toString in interface TypeSpec
typeName
public String typeName()
- typeName in interface TypeSpec
- this sequences Java type name, i.e., the element type with
"[]" appended.