org.jacorb.idl

Class ValueBoxDecl


public class ValueBoxDecl
extends Value

Version:
$Id: ValueBoxDecl.java,v 1.28 2004/05/06 12:39:59 nicolas Exp $

Author:
Gerald Brose

Field Summary

Fields inherited from class org.jacorb.idl.TypeDeclaration

type_decl

Fields inherited from class org.jacorb.idl.IdlSymbol

_id, enclosing_symbol, fileSeparator, included, inhibitionFlag, is_pseudo, omg_package_prefix, pack_name

Fields inherited from class org.jacorb.idl.runtime.symbol

parse_state, sym

Constructor Summary

ValueBoxDecl(int num)
class constructor

Method Summary

void
accept(IDLTreeVisitor visitor)
boolean
basic()
String
boxTypeName()
String
className()
Object
clone()
TypeDeclaration
declaration()
String
getTypeCodeExpression()
String
getTypeCodeExpression(Set knownTypes)
String
helperName()
String
holderName()
void
parse()
empty parse
void
print(PrintWriter ps)
generate required classes
String
printReadExpression(String streamname)
String
printWriteStatement(String var_name, String streamname)
void
setEnclosingSymbol(IdlSymbol s)
void
setPackage(String s)
void
set_included(boolean i)
used by the lexer to mark this symbol as included from another IDL file
String
toString()
String
typeName()

Methods inherited from class org.jacorb.idl.Value

accept, basic, clone, declaration, getTypeCodeExpression, holderName, parse, print, printReadExpression, printReadStatement, printWriteStatement, setEnclosingSymbol, setPackage, setValue, set_included, toString, typeName

Methods inherited from class org.jacorb.idl.TypeDeclaration

accept, basic, clone, declaration, getIDLTypeName, getJavaTypeName, getRecursiveTypeCodeExpression, getTypeCodeExpression, getTypeCodeExpression, holderName, markTypeDefd, parse, print, printReadExpression, printReadStatement, printWriteStatement, setEnclosingSymbol, setPackage, set_included, toString, typeName

Methods inherited from class org.jacorb.idl.Declaration

accept

Methods inherited from class org.jacorb.idl.IdlSymbol

accept, addImportedAlias, addImportedName, addImportedName, addImportedNameHolder, deEscapeName, escapeName, generateIncluded, getEnclosingSymbol, get_token, id, isEscaped, is_included, is_pseudo, name, new_num, omgPrefix, parse, print, printIdMethod, printImport, setEnclosingSymbol, setPackage, setPrintPhaseNames, set_name, set_pseudo, set_token

Constructor Details

ValueBoxDecl

public ValueBoxDecl(int num)
class constructor

Method Details

accept

public void accept(IDLTreeVisitor visitor)
Overrides:
accept in interface Value


basic

public boolean basic()
Overrides:
basic in interface Value


boxTypeName

public String boxTypeName()


className

public String className()


clone

public Object clone()
Overrides:
clone in interface Value


declaration

public TypeDeclaration declaration()
Overrides:
declaration in interface Value


getTypeCodeExpression

public String getTypeCodeExpression()
Overrides:
getTypeCodeExpression in interface Value

Returns:
a string for an expression of type TypeCode that describes this type


getTypeCodeExpression

public String getTypeCodeExpression(Set knownTypes)
Overrides:
getTypeCodeExpression in interface TypeDeclaration

Returns:
a string for an expression of type TypeCode that describes this type


helperName

public String helperName()


holderName

public String holderName()
Overrides:
holderName in interface Value


parse

public void parse()
empty parse
Overrides:
parse in interface Value


print

public void print(PrintWriter ps)
generate required classes
Overrides:
print in interface Value


printReadExpression

public String printReadExpression(String streamname)
Overrides:
printReadExpression in interface Value


printWriteStatement

public String printWriteStatement(String var_name,
                                  String streamname)
Overrides:
printWriteStatement in interface Value


setEnclosingSymbol

public void setEnclosingSymbol(IdlSymbol s)
Overrides:
setEnclosingSymbol in interface Value


setPackage

public void setPackage(String s)
Overrides:
setPackage in interface Value


set_included

public void set_included(boolean i)
used by the lexer to mark this symbol as included from another IDL file
Overrides:
set_included in interface Value


toString

public String toString()
Overrides:
toString in interface Value


typeName

public String typeName()
Overrides:
typeName in interface Value