Overview | The lookup operation locates a definition relative to this container given a scoped name using OMG IDL's name scoping rules. |
Original interface | CORBA module: Container Interface |
Exceptions | CORBA::SystemException |
Intended Usage
The lookup operation locates a definition relative to this container given a scoped name using OMG IDL's name scoping rules. An absolute scoped name (beginning with "::") locates the definition relative to the enclosing Repository. If no object is found, a nil object reference is returned.
Syntax
Contained lookup (in ScopedName search_name);
Input parameters
Return values
Example
// C++ // assume that 'module_1' has already been initialized CORBA::ModuleDef * module_1; // use the scoped name to lookup an operation . . . CORBA::Contained * ret_contained; ret_contained = module_1-> lookup ("Module2::Interface6::Operation7");;