
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 |
| 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.
| 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().
| root |
References s_allInterfaces.
Referenced by collectInterfaces().
| static boolean alma::tools::idlgen::IDLComponentTester::isACSComponent | ( | IdlInterface | interfaceNode | ) | [inline, static] |
References ACSCOMPONENT_IDLTYPE, and isACSInterface().
| 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] |
References ACSOFFSHOOT_IDLTYPE, and isACSInterface().
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] |
Referenced by collectInterfaces(), and isACSInterface().
1.6.2