Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

alma::tools::idlgen::IDLComponentTester Class Reference

List of all members.

Static Public Member Functions

void collectInterfaces (IdlObject root)
boolean isACSComponent (IdlInterface interfaceNode)

Static Public Attributes

final String ACSCOMPONENT_IDLTYPE = "IDL:alma/ACS/ACSComponent:1.0"

Static Private Member Functions

void collectInterfaces (IdlObject node, HashMap interfaceMap)

Static Private Attributes

HashMap s_allInterfaces

Detailed Description

Author:
hsommer created Nov 10, 2003 3:34:51 PM


Member Function Documentation

void alma::tools::idlgen::IDLComponentTester::collectInterfaces IdlObject  node,
HashMap  interfaceMap
[inline, static, private]
 

Traverses the tree under node and puts all interface nodes into the map.

Parameters:
node IDL parse tree node
interfaceMap will get interfaces (key=IdlInterface#name, value=IdlInterface)

void alma::tools::idlgen::IDLComponentTester::collectInterfaces IdlObject  root  )  [inline, static]
 

Collecting all interfaces prior to calling isACSComponent is part of a workaround for an OpenORB bug or feature. It is not possible to directly navigate up the graph of base interfaces using IdlInterface#getInheritance().

Parameters:
root 

boolean alma::tools::idlgen::IDLComponentTester::isACSComponent IdlInterface  interfaceNode  )  [inline, static]
 

Calls IdlInterface#getInheritance() recursively on interfaceNode and returns true if IDL:alma/ACS/ACSComponent:1.0 is among the inherited interfaces.

The method collectInterfaces(IdlObject) must be called before this method.


Member Data Documentation

final String alma::tools::idlgen::IDLComponentTester::ACSCOMPONENT_IDLTYPE = "IDL:alma/ACS/ACSComponent:1.0" [static]
 

HashMap alma::tools::idlgen::IDLComponentTester::s_allInterfaces [static, private]
 


The documentation for this class was generated from the following file:
Generated on Thu Apr 30 03:07:29 2009 for ACS Java API by doxygen 1.3.8