org.jacorb.idl

Class ValueAbsDecl

public class ValueAbsDecl extends Value

Version: $Id: ValueAbsDecl.java,v 1.26 2006/07/13 08:48:28 nick.cross Exp $ This class is basically the same as Interface.java, but we can't extend that one because we have to extend Value, and delegating some parts and not others is a nuisance...

Author: Andre Spiegel Gerald Brose

Constructor Summary
ValueAbsDecl(int num)
Method Summary
voidaccept(IDLTreeVisitor visitor)
booleanbasic()
Objectclone()
TypeDeclarationdeclaration()
StringgetTypeCodeExpression()
StringgetTypeCodeExpression(Set knownTypes)
StringhelperName()
StringholderName()
voidparse()
voidprint(PrintWriter unused)
generate the mapped class that extends ValueBase and has the operations and attributes
voidprintExtractResult(PrintWriter ps, String resultname, String anyname, String resulttype)
voidprintInsertIntoAny(PrintWriter ps, String anyname, String varname)
StringprintReadExpression(String streamname)
StringprintReadStatement(String var_name, String streamname)
StringprintWriteStatement(String var_name, String streamname)
voidsetEnclosingSymbol(IdlSymbol s)
voidsetInheritanceSpec(ValueInheritanceSpec spec)
ValueInheritanceSpecsetInheritanceSpec()
voidsetPackage(String s)
voidset_included(boolean i)
StringtoString()
StringtypeName()

Constructor Detail

ValueAbsDecl

public ValueAbsDecl(int num)

Method Detail

accept

public void accept(IDLTreeVisitor visitor)

basic

public boolean basic()

clone

public Object clone()

declaration

public TypeDeclaration declaration()

getTypeCodeExpression

public String getTypeCodeExpression()

getTypeCodeExpression

public String getTypeCodeExpression(Set knownTypes)

helperName

public String helperName()

holderName

public String holderName()

parse

public void parse()

print

public void print(PrintWriter unused)
generate the mapped class that extends ValueBase and has the operations and attributes

printExtractResult

public void printExtractResult(PrintWriter ps, String resultname, String anyname, String resulttype)

printInsertIntoAny

public void printInsertIntoAny(PrintWriter ps, String anyname, String varname)

printReadExpression

public String printReadExpression(String streamname)

printReadStatement

public String printReadStatement(String var_name, String streamname)

printWriteStatement

public String printWriteStatement(String var_name, String streamname)

setEnclosingSymbol

public void setEnclosingSymbol(IdlSymbol s)

setInheritanceSpec

public void setInheritanceSpec(ValueInheritanceSpec spec)

setInheritanceSpec

public ValueInheritanceSpec setInheritanceSpec()

setPackage

public void setPackage(String s)

set_included

public void set_included(boolean i)

toString

public String toString()

typeName

public String typeName()