public class ShortType extends IntType
_id, enclosing_symbol, fileSeparator, included, inhibitionFlag, is_pseudo, omg_package_prefix, pack_nameparse_state, sym| Constructor and Description |
|---|
ShortType(int num) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
basic() |
java.lang.String |
getIDLTypeName()
get this symbol's IDL type name
|
java.lang.String |
getJavaTypeName()
get this types's mapped Java name
|
int |
getTCKind()
the "kind of TypeCode" for this type
|
java.lang.String |
holderName() |
java.lang.String |
printExtractExpression() |
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
|
java.lang.String |
printInsertExpression() |
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 ps) |
java.lang.String |
printReadStatement(java.lang.String var_name,
java.lang.String ps) |
java.lang.String |
printWriteStatement(java.lang.String var_name,
java.lang.String ps) |
java.lang.String |
toString() |
java.lang.String |
typeName() |
TypeSpec |
typeSpec() |
isSwitchable, setUnsignedgetTypeCodeExpression, id, isBasicName, isSwitchType, parse, print, setEnclosingSymbol, setPackage, typeCodeExpressionSkeletonacceptclone, getTypeCodeExpression, helperName, set_constraddImportedAlias, addImportedName, addImportedName, addImportedNameHolder, deEscapeName, escapeName, generateIncluded, get_token, getEnclosingSymbol, getFullName, is_included, is_pseudo, isEscaped, name, new_num, omgPrefix, printClassComment, printIdMethod, printImport, set_name, set_pseudo, set_token, setPrintPhaseNamespublic java.lang.String getJavaTypeName()
getJavaTypeName in class TypeSpecpublic java.lang.String getIDLTypeName()
getIDLTypeName in class TypeSpecpublic boolean basic()
public int getTCKind()
BaseTypepublic java.lang.String holderName()
holderName in class TypeSpecpublic java.lang.String printReadExpression(java.lang.String ps)
printReadExpression in class TypeSpecpublic java.lang.String printReadStatement(java.lang.String var_name,
java.lang.String ps)
printReadStatement in class TypeSpecpublic java.lang.String printWriteStatement(java.lang.String var_name,
java.lang.String ps)
printWriteStatement in class TypeSpecpublic java.lang.String printInsertExpression()
printInsertExpression in class TypeSpecpublic java.lang.String printExtractExpression()
printExtractExpression 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 variable