NonStop Serverware

IRObject

Previous Topic | Next Topic | Contents | Index
Getting Started | Administration Guide | Programmer's Guide

Subtopics

IRObject Syntax
IRObject::def_kind( )
void IRObject::destroy( )

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.

IRObject Syntax

module CORBA {

   interface IRObject {
   readonly attribute DefinitionKind def_kind;
   void destroy( )
   };
};

IRObject::def_kind( )

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

void IRObject::destroy( )

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.


Previous Topic | Next Topic | Contents | Top
Getting Started Guide | Administration Guide | Programmer's Guide
Bibliography | Glossary | Index
© Tandem, a division of Compaq. All rights reserved. Legal notices.