public abstract class VectorType extends TemplateTypeSpec
typedefd
_id, enclosing_symbol, fileSeparator, included, inhibitionFlag, is_pseudo, omg_package_prefix, pack_name
parse_state, sym
Constructor and Description |
---|
VectorType(int num) |
Modifier and Type | Method and Description |
---|---|
void |
accept(IDLTreeVisitor visitor)
let the visitor pattern do its work...
|
protected String |
elementTypeExpression() |
String |
elementTypeName() |
TypeSpec |
elementTypeSpec() |
int |
getTCKind() |
abstract String |
helperName() |
abstract String |
holderName() |
abstract int |
length() |
void |
printExtractResult(PrintWriter ps,
String resultname,
String anyname,
String resulttype)
Prints the java-commands to extract the contents of the Any anyname
into a variable resultname with the type resulttype
|
void |
printInsertIntoAny(PrintWriter ps,
String anyname,
String varname)
Prints the java-commands to insert the variable varname into
the Any anyname
|
String |
printReadExpression(String streamname) |
void |
setTypeSpec(SimpleTypeSpec sts) |
String |
toString() |
String |
typeName() |
basic, markTypeDefd, parse
clone, getIDLTypeName, getJavaTypeName, getTypeCodeExpression, getTypeCodeExpression, print, printExtractExpression, printInsertExpression, printReadStatement, printWriteStatement, set_constr, setEnclosingSymbol, setPackage, typeSpec
addImportedAlias, addImportedName, addImportedName, addImportedNameHolder, deEscapeName, escapeName, generateIncluded, get_token, getEnclosingSymbol, getFullName, id, is_included, is_pseudo, isEscaped, name, new_num, omgPrefix, printClassComment, printIdMethod, printImport, set_name, set_pseudo, set_token, setPrintPhaseNames
public TypeSpec elementTypeSpec()
public void setTypeSpec(SimpleTypeSpec sts)
public String typeName()
public String printReadExpression(String streamname)
printReadExpression
in class TypeSpec
protected String elementTypeExpression()
public String elementTypeName()
public abstract int length()
public abstract String holderName()
holderName
in class TypeSpec
public abstract String helperName()
helperName
in class TypeSpec
public void printInsertIntoAny(PrintWriter ps, String anyname, String varname)
TypeSpec
printInsertIntoAny
in class TypeSpec
ps
- Stream, the commands shall be written toanyname
- Name of the Any into which the variable shall be insertedvarname
- Name of the variable which shall be insertedpublic void printExtractResult(PrintWriter ps, String resultname, String anyname, String resulttype)
TypeSpec
printExtractResult
in class TypeSpec
ps
- Stream, the commands shall be written toresultname
- Name of the result variableanyname
- Name of the Any holding the resultresulttype
- Type of the result variablepublic void accept(IDLTreeVisitor visitor)
IdlSymbol
accept
in class SimpleTypeSpec
public int getTCKind()
getTCKind
in class SimpleTypeSpec
Copyright © 2017 JacORB. All rights reserved.