![]() |
Overview The element_type_def read and write operations allow the access and update of the element type definition of an array definition (ArrayDef) in the Interface Repository. Original interface ArrayDef Interface Exceptions CORBA::SystemException
Intended Usage
The type of the elements within an array definition is identified by the element_type_def attribute.
IDL Syntax
attribute IDLType element_type_def;
Read operations
- Input parameters
- none
- Return values
- CORBA::IDLType_ptr
The returned object is a pointer to a copy of the IDLType referenced by the element_type_def attribute of the ArrayDef object. The returned object is owned by the caller and can be released by invoking CORBA::release.
Write operations
- Input parameters
- CORBA::IDLType_ptr element_type_def
The element_type_def parameter represents the new element definition for the ArrayDef.
- Return values
- none
Example
// C++ // assume that 'this_array' and 'this_union' have already been initialized CORBA::ArrayDef * this_array; CORBA::UnionDef * this_union; // change the array element type definition to 'this_union' this_array-> element_type_def (this_union); // read the element type definition from 'this_array' CORBA::IDLType * returned_element_type_def; returned_element_type_def = this_array-> element_type_def ();
Related reference... | |
CORBA module in Object Request Broker | |
Parent: CORBA module: ArrayDef Interface | |
ArrayDef::element_type | |
ArrayDef::length | |