InterfaceDef
- File stem
- intfacdf
- Base
- Contained
- Container
- Metaclass
- SOMClass
- Ancestor Classes
-
- Contained
- Container
- SOMObject
Types
struct FullInterfaceDescription { Identifier name; RepositoryId id; RepositoryId defined_in; sequence<OperationDef::OperationDescription> operation; sequence<AttributeDef::AttributeDescription> attributes; }; struct InterfaceDescription { Identifier name; RepositoryId id; RepositoryId defined_in; };
The describe method, inherited from Contained, returns an InterfaceDescription structure in the "value" member of the Description structure (defined in the Contained class). The describe_contents method, inherited from Container, returns a sequence of these Description structures, each carrying a reference to an InterfaceDescription structure in its "value" member.
Implementation note The two sequences "OperationDescription" and "AttributeDescription" are built dynamically within the FullInterfaceDescription structure, due to the InterfaceDef class's inheritance from the Contained class.
Attributes
All attributes of the InterfaceDef class provide access to information kept within the receiving InterfaceDef object. The "_get_" form of the attribute returns a memory reference that is only valid as long as the receiving object has not been freed (using _somFree). The "_set_" form of the attribute makes a (deep) copy of your data and places it in the receiving InterfaceDef object. You retain ownership of all memory references passed using the "_set_" attribute forms.
Listed below is each available attribute, with its corresponding type in parentheses, followed by a description of its purpose:
- base_interfaces (sequence <RepositoryId>)
- The sequence of RepositoryIds for all of the interfaces that the receiving interface inherits.
- instanceData (TypeCode)
- The TypeCode of a structure whose members are the internal instance variables, if any, described in the SOM implementation section of the interface.
- Note
- This attribute is a SOM-unique extension of the Interface Repository; it is not stipulated by the CORBA specifications.
New methods
The following list shows all the InterfaceDef methods.
- describe_interface
Overridden methods
The following list shows all the methods overridden by the InterfaceDef class. These methods are overridden in order to modify the behavior defined by an ancestor class.
- somInit
- somUninit
- somDumpSelf
- somDumpSelfInt
- within
- describe