org.jacorb.idl
Class ValueBase
java.lang.Object
org.jacorb.idl.runtime.symbol
org.jacorb.idl.IdlSymbol
org.jacorb.idl.TypeSpec
org.jacorb.idl.SimpleTypeSpec
org.jacorb.idl.BaseType
org.jacorb.idl.ValueBase
public class ValueBase
- extends BaseType
- Version:
- $Id: ValueBase.java,v 1.3 2006-06-19 10:34:57 alphonse.bendt Exp $
- Author:
- Gerald Brose
Methods inherited from class org.jacorb.idl.IdlSymbol |
addImportedAlias, 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, setPrintPhaseNames |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ValueBase
public ValueBase(int num)
clone
public java.lang.Object clone()
- Overrides:
clone
in class TypeSpec
typeName
public java.lang.String typeName()
- Overrides:
typeName
in class BaseType
typeSpec
public TypeSpec typeSpec()
- Overrides:
typeSpec
in class BaseType
setPackage
public void setPackage(java.lang.String s)
- Description copied from class:
BaseType
- ignore, these types don't need to know their package
- Overrides:
setPackage
in class BaseType
basic
public boolean basic()
- Overrides:
basic
in class BaseType
- Returns:
- true if this is a basic type
set_constr
public void set_constr(TypeDeclaration td)
- Overrides:
set_constr
in class TypeSpec
parse
public void parse()
- Description copied from class:
BaseType
- does nothing, will be overwritten in subclasses
- Overrides:
parse
in class BaseType
toString
public java.lang.String toString()
- Overrides:
toString
in class BaseType
getTypeCodeExpression
public java.lang.String getTypeCodeExpression()
- Overrides:
getTypeCodeExpression
in class BaseType
- Returns:
- a string for an expression of type TypeCode that describes this type
id
public java.lang.String id()
- Overrides:
id
in class BaseType
- Returns:
- this symbol's repository Id
print
public void print(java.io.PrintWriter ps)
- Description copied from class:
BaseType
- does nothing, will be overwritten in subclasses
- Overrides:
print
in class BaseType
holderName
public java.lang.String holderName()
- Overrides:
holderName
in class TypeSpec
printReadExpression
public java.lang.String printReadExpression(java.lang.String streamname)
- Overrides:
printReadExpression
in class TypeSpec
printWriteStatement
public java.lang.String printWriteStatement(java.lang.String var_name,
java.lang.String streamname)
- Overrides:
printWriteStatement
in class TypeSpec