public class FixedPointType extends TemplateTypeSpec
| Modifier and Type | Field and Description |
|---|---|
ConstExpr |
digit_expr |
int |
digits |
int |
scale |
ConstExpr |
scale_expr |
typedefd_id, enclosing_symbol, fileSeparator, included, inhibitionFlag, is_pseudo, omg_package_prefix, pack_nameparse_state, sym| Constructor and Description |
|---|
FixedPointType(int num) |
| Modifier and Type | Method and Description |
|---|---|
Object |
clone() |
String |
getIDLTypeName()
get this symbol's IDL type name
|
int |
getTCKind() |
String |
getTypeCodeExpression() |
String |
helperName() |
String |
holderName() |
void |
parse()
empty parse
|
void |
print(PrintWriter pw) |
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 strname) |
String |
printReadStatement(String var_name,
String strname) |
String |
printWriteStatement(String var_name,
String strname) |
void |
setEnclosingSymbol(IdlSymbol s) |
void |
setPackage(String s) |
String |
toString() |
String |
typeName() |
TypeSpec |
typeSpec() |
basic, markTypeDefdacceptgetJavaTypeName, getTypeCodeExpression, printExtractExpression, printInsertExpression, set_constraddImportedAlias, 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 ConstExpr digit_expr
public ConstExpr scale_expr
public int digits
public int scale
public String helperName()
helperName in class TypeSpecpublic String getIDLTypeName()
TypeSpecgetIDLTypeName in class TypeSpecpublic int getTCKind()
getTCKind in class SimpleTypeSpecpublic void setEnclosingSymbol(IdlSymbol s)
setEnclosingSymbol in class TypeSpecpublic void print(PrintWriter pw)
public void setPackage(String s)
setPackage in class TypeSpecpublic String holderName()
holderName in class TypeSpecpublic String getTypeCodeExpression()
getTypeCodeExpression in class TypeSpecpublic String printReadExpression(String strname)
printReadExpression in class TypeSpecpublic String printReadStatement(String var_name, String strname)
printReadStatement in class TypeSpecpublic String printWriteStatement(String var_name, String strname)
printWriteStatement in class TypeSpecpublic void parse()
IdlSymbolparse in class TemplateTypeSpecpublic void printInsertIntoAny(PrintWriter ps, String anyname, 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(PrintWriter ps, String resultname, String anyname, 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 variableCopyright © 2017 JacORB. All rights reserved.