![]() |
Overview The containing_repository attribute identifies the Repository that contains this object. Original interface CORBA module: Contained Interface Exceptions CORBA::SystemException
Intended Usage
A Contained object has a defined_in attribute that identifies the Container within which it is contained. The containing_repository attribute identifies the Repository that is eventually reached by recursively following the object's defined_in attribute.
The containing_repository attribute read operation retrieves a pointer to the Repository.
IDL Syntax
readonly attribute Repository containing_repository;
Input parameters
None
Return values
- CORBA::Repository_ptr
- A pointer to the Repository object is returned.
Example
// C++ /// assume that 'interface_1' has already been initialized CORBA::InterfaceDef * interface_1; // retrieve a pointer to the Repository object CORBA::Repository * repository_ptr; repository_ptr = interface_1-> containing_repository();