public abstract class VectorType extends TemplateTypeSpec
typedefd_id, enclosing_symbol, fileSeparator, included, inhibitionFlag, is_pseudo, omg_package_prefix, pack_nameparse_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 java.lang.String |
elementTypeExpression() |
java.lang.String |
elementTypeName() |
TypeSpec |
elementTypeSpec() |
int |
getTCKind() |
abstract java.lang.String |
helperName() |
abstract java.lang.String |
holderName() |
abstract int |
length() |
void |
printExtractResult(java.io.PrintWriter ps,
java.lang.String resultname,
java.lang.String anyname,
java.lang.String resulttype)
Prints the java-commands to extract the contents of the Any anyname
into a variable resultname with the type resulttype
|
void |
printInsertIntoAny(java.io.PrintWriter ps,
java.lang.String anyname,
java.lang.String varname)
Prints the java-commands to insert the variable varname into
the Any anyname
|
java.lang.String |
printReadExpression(java.lang.String streamname) |
void |
setTypeSpec(SimpleTypeSpec sts) |
java.lang.String |
toString() |
java.lang.String |
typeName() |
basic, markTypeDefd, parseclone, getIDLTypeName, getJavaTypeName, getTypeCodeExpression, getTypeCodeExpression, print, printExtractExpression, printInsertExpression, printReadStatement, printWriteStatement, set_constr, setEnclosingSymbol, setPackage, typeSpecaddImportedAlias, 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, setPrintPhaseNamespublic TypeSpec elementTypeSpec()
public void setTypeSpec(SimpleTypeSpec sts)
public java.lang.String typeName()
public java.lang.String printReadExpression(java.lang.String streamname)
printReadExpression in class TypeSpecprotected java.lang.String elementTypeExpression()
public java.lang.String elementTypeName()
public abstract int length()
public abstract java.lang.String holderName()
holderName in class TypeSpecpublic abstract java.lang.String helperName()
helperName in class TypeSpecpublic void printInsertIntoAny(java.io.PrintWriter ps,
java.lang.String anyname,
java.lang.String varname)
TypeSpecprintInsertIntoAny in class TypeSpecps - 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(java.io.PrintWriter ps,
java.lang.String resultname,
java.lang.String anyname,
java.lang.String resulttype)
TypeSpecprintExtractResult in class TypeSpecps - 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)
IdlSymbolaccept in class SimpleTypeSpecpublic int getTCKind()
getTCKind in class SimpleTypeSpec