org.openorb.pss.compiler.ir
Class IdlFromIR

java.lang.Object
  extended by org.openorb.pss.compiler.ir.IdlFromIR

public class IdlFromIR
extends java.lang.Object

This class provides an import mechanism to get IDL descriptions from Interface Repository.

Version:
$Revision: 1.6 $ $Date: 2004/02/10 21:19:14 $
Author:
Jerome Daniel

Constructor Summary
IdlFromIR(PsdlCompilerProperties pcp, org.openorb.compiler.CompilerHost ch)
          Constructor
 
Method Summary
 boolean checkFromImportFromFile(java.lang.String container_name)
          This operation is used to import a container from an IDL file if a link has been provided.
 void getDescriptionFromIR(java.lang.String scope_name, org.openorb.compiler.object.IdlObject current_scope)
          This method is called from the IDL parser to get an IR container description.
 void set_parser(org.openorb.compiler.parser.IdlParser parser)
          Set the parser
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IdlFromIR

public IdlFromIR(PsdlCompilerProperties pcp,
                 org.openorb.compiler.CompilerHost ch)
Constructor

Method Detail

set_parser

public void set_parser(org.openorb.compiler.parser.IdlParser parser)
Set the parser


checkFromImportFromFile

public boolean checkFromImportFromFile(java.lang.String container_name)
This operation is used to import a container from an IDL file if a link has been provided. Only top level import are accepted and only one level container are accepted : import ::top // OK import top::foo // NOT OK import ::top::foo // NOT OK


getDescriptionFromIR

public void getDescriptionFromIR(java.lang.String scope_name,
                                 org.openorb.compiler.object.IdlObject current_scope)
This method is called from the IDL parser to get an IR container description.