|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.openorb.compiler.ir.IdlFromIR
This class provides an import mechanism to get IDL descriptions from Interface Repository.
Constructor Summary | |
IdlFromIR()
Constructor |
|
IdlFromIR(ORB orb)
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. |
IdlObject |
createContainer(Container container,
IdlObject parent)
Create a new container |
IdlObject |
createOrFindScope(java.lang.String scope_name,
IdlObject current_scope,
Container ir_scope)
Find or create the parent scope to import description |
void |
getDescriptionFromIR(java.lang.String scope_name,
IdlObject current_scope)
This method is called from the IDL parser to get an IR container description. |
IdlObject |
getType(IRObject type,
IdlObject parent)
Return a data type |
void |
initialize()
Initialize ( not required if normal use : getDescriptionFromIR ) |
IdlObject |
irAlias(Contained contained,
IdlObject scope,
boolean visible)
Add an alias description |
IdlObject |
irConstant(Contained contained,
IdlObject scope,
boolean visible)
Add a constant description |
IdlObject |
irContained(Contained contained,
IdlObject scope,
boolean visible)
Add a contained description |
IdlObject |
irContainer(Container container,
IdlObject scope,
boolean visible)
Add a container description |
IdlObject |
irDescription(IRObject type,
IdlObject scope,
boolean visible)
Add an IR description |
IdlObject |
irEnum(Contained contained,
IdlObject scope,
boolean visible)
Add an enum description |
IdlObject |
irException(Container container,
IdlObject scope,
boolean content)
Add an exception description |
IdlObject |
irInterface(Container container,
IdlObject scope,
boolean content,
int type)
Add an interface description type : 0 = NORMAL, 1 = LOCAL, 2 = ABSTRACT |
IdlObject |
irModule(Container container,
IdlObject scope,
boolean content)
Add a module description |
IdlObject |
irNative(Contained contained,
IdlObject scope,
boolean visible)
Add an native description |
IdlObject |
irStruct(Container container,
IdlObject scope,
boolean content)
Add a struct description |
IdlObject |
irUnion(Container container,
IdlObject scope,
boolean content)
Add an union description |
IdlObject |
irValue(Container container,
IdlObject scope,
boolean content)
Add a value description |
IdlObject |
irValueBox(Contained contained,
IdlObject scope,
boolean visible)
Add a valuebox description |
void |
set_parser(IdlParser parser)
Set the parser |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public IdlFromIR()
public IdlFromIR(ORB orb)
Method Detail |
public void set_parser(IdlParser parser)
set_parser
in interface IRImport
public void initialize()
public void getDescriptionFromIR(java.lang.String scope_name, IdlObject current_scope)
getDescriptionFromIR
in interface IRImport
public IdlObject irDescription(IRObject type, IdlObject scope, boolean visible)
public IdlObject irContainer(Container container, IdlObject scope, boolean visible)
public IdlObject irContained(Contained contained, IdlObject scope, boolean visible)
public IdlObject irModule(Container container, IdlObject scope, boolean content)
public IdlObject irInterface(Container container, IdlObject scope, boolean content, int type)
public IdlObject irValue(Container container, IdlObject scope, boolean content)
public IdlObject irStruct(Container container, IdlObject scope, boolean content)
public IdlObject irUnion(Container container, IdlObject scope, boolean content)
public IdlObject irException(Container container, IdlObject scope, boolean content)
public IdlObject irEnum(Contained contained, IdlObject scope, boolean visible)
public IdlObject irNative(Contained contained, IdlObject scope, boolean visible)
public IdlObject irAlias(Contained contained, IdlObject scope, boolean visible)
public IdlObject irValueBox(Contained contained, IdlObject scope, boolean visible)
public IdlObject irConstant(Contained contained, IdlObject scope, boolean visible)
public IdlObject createOrFindScope(java.lang.String scope_name, IdlObject current_scope, Container ir_scope)
public IdlObject createContainer(Container container, IdlObject parent)
public IdlObject getType(IRObject type, IdlObject parent)
public boolean checkFromImportFromFile(java.lang.String container_name)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |