An IRObject
interface is the base interface of all interfaces in the Interface Repository (IR). All IR objects are derived from this interface.
The def_kind( )
method returns an IR object's definition kind, such as, dk_module
or dk_interface
.
module CORBA { interface IRObject { readonly attribute DefinitionKind def_kind; void destroy( ) }; };
This method returns the type of an Interface Repository object as one of the following DefinitionKind
enumeration values:
dk_Alias |
dk_Array |
dk_Attribute |
dk_Constant |
dk_Enum |
dk_Exception |
dk_Interface |
dk_Module |
dk_Operation |
dk_Primitive |
dk_Repository |
dk_Sequence |
dk_String |
dk_Struct |
dk_Typedef |
dk_Union |
This method deletes the object from the repository database. If the object is a Container
, all of its contents are also deleted. If the object is currently contained by another object, it will be removed. You cannot invoke the destroy( )
method on a Repository
or PrimitiveDef
object. Use CORBA::release
on Interface Repository objects if you just want to release the in-memory objects and don't want to remove the persistent copy in the database.