KickJava   Java API By Example, From Geeks To Geeks.

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


1 /* $Id: CDLContainer.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 /** <i>Container</i> interface for the conatiner objects from the CDL. */
6 public interface CDLContainer extends Container {
7   /** Creates module in this container. */
8   public ModuleDef create_module(Identification id) throws RemoteException JavaDoc, TIRExceptCreate, TIRExceptLock;
9   /** Creates constant in this container. */
10   public ConstantDef create_constant(Identification id, CDLType type, ExprOperDef value) throws RemoteException JavaDoc, TIRExceptCreate, TIRExceptLock;
11   /** Creates struct in this container. */
12   public StructDef create_struct(Identification id) throws RemoteException JavaDoc, TIRExceptCreate, TIRExceptLock;
13   /** Creates union in this container. */
14   public UnionDef create_union(Identification id, CDLType switch_type) throws RemoteException JavaDoc, TIRExceptCreate, TIRExceptLock;
15   /** Creates enum in this container. */
16   public EnumDef create_enum(Identification id) throws RemoteException JavaDoc, TIRExceptCreate, TIRExceptLock;
17   /** Creates typedef in this container. */
18   public TypedefDef create_typedef(Identification id, CDLType orig_type) throws RemoteException JavaDoc, TIRExceptCreate, TIRExceptLock;
19   /** Creates exception in this container. */
20   public ExceptionDef create_exception(Identification id) throws RemoteException JavaDoc, TIRExceptCreate, TIRExceptLock;
21   /** Creates interface in this container. */
22   public InterfaceDef create_interface(Identification id, InterfaceDef[] base_interfaces) throws RemoteException JavaDoc, TIRExceptCreate, TIRExceptLock;
23   /** Creates interface in this container without specified base intefaces (it will be add later by Interface::setBaseInterface() method. */
24   public InterfaceDef create_interface(Identification id) throws RemoteException JavaDoc, TIRExceptCreate, TIRExceptLock;
25   /** Creates frame in this container. */
26   public FrameDef create_frame(Identification id, boolean system) throws RemoteException JavaDoc, TIRExceptCreate, TIRExceptLock;
27 }
28
Popular Tags