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

Collaboration diagram for alma::tools::idlgen::IDLComponentTester:
Collaboration graph
[legend]

List of all members.

Static Public Member Functions

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

Static Public Attributes

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

Static Protected Member Functions

static boolean isACSInterface (IdlInterface interfaceNode, String acsInterfaceId)

Static Private Member Functions

static void collectInterfaces (IdlObject node, HashMap< String, IdlInterface > interfaceMap)

Static Private Attributes

static HashMap< String,
IdlInterface > 
s_allInterfaces

Detailed Description

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

Member Function Documentation

static void alma::tools::idlgen::IDLComponentTester::collectInterfaces ( IdlObject  node,
HashMap< String, IdlInterface >  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=IdlInterfacename, value=IdlInterface)

References collectInterfaces().

static 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 

References s_allInterfaces.

Referenced by collectInterfaces().

static boolean alma::tools::idlgen::IDLComponentTester::isACSComponent ( IdlInterface  interfaceNode  )  [inline, static]
static boolean alma::tools::idlgen::IDLComponentTester::isACSInterface ( IdlInterface  interfaceNode,
String  acsInterfaceId 
) [inline, static, protected]

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.

References s_allInterfaces.

Referenced by isACSComponent(), and isACSOffshoot().

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

Member Data Documentation

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

Referenced by isACSComponent().

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

Referenced by isACSOffshoot().

HashMap<String, IdlInterface> alma::tools::idlgen::IDLComponentTester::s_allInterfaces [static, private]

The documentation for this class was generated from the following file:

Generated by  doxygen 1.6.2