KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > SOFA > SOFAnode > Made > TIR > UnionDef


1 /* $Id: UnionDef.java,v 1.1.1.1 2003/02/11 16:19:41 bures Exp $ */
2 package SOFA.SOFAnode.Made.TIR;
3 import java.rmi.RemoteException JavaDoc;
4
5 /** Interface for the union */
6 public interface UnionDef extends Contained, Container, CDLType {
7   /** Switch type of this union */
8   public CDLType switch_type() throws RemoteException JavaDoc;
9   /** members of this union */
10   public UnionMember[] members() throws RemoteException JavaDoc, TIRExceptLock;
11   /** Create new member in this union */
12   public UnionMember create_member(String JavaDoc name, CDLType type, ExprOperDef[] label) throws RemoteException JavaDoc, TIRExceptCreate, TIRExceptLock;
13   /** Create new struct in this union */
14   public StructDef create_struct(Identification id) throws RemoteException JavaDoc, TIRExceptCreate, TIRExceptLock;
15   /** Create new union in this union */
16   public UnionDef create_union(Identification id, CDLType switch_type) throws RemoteException JavaDoc, TIRExceptCreate, TIRExceptLock;
17   /** Create new enum in this union */
18   public EnumDef create_enum(Identification id) throws RemoteException JavaDoc, TIRExceptCreate, TIRExceptLock;
19 }
20
Popular Tags