NonStop Serverware

ArrayDef

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

Subtopics

ArrayDef Syntax
ArrayDef Description
ArrayDef Parameters

ArrayDef Syntax

module CORBA {
interface ArrayDef : IDLType {
attribute unsigned long <length>;
readonly attribute TypeCode <element_type>;
attribute IDLType <element_type_def>;
};
};

ArrayDef Description

An ArrayDef represents an IDL array type. Array types are anonymous. ArrayDef is not derived from TypedefDef or Contained.

An ArrayDef represents one dimension of an array. You represent multi-dimensional IDL arrays using multiple ArrayDef objects, one per array dimension.

The <element_type_def> attribute of the ArrayDef representing the leftmost index of the array, as defined in IDL, refers to the ArrayDef representing the next index to the right, and so on. The rightmost index is represented by the innermost ArrayDef and the element type of a multi-dimensional array.

The inherited type attribute is a tk_array TypeCode describing the array. The <element_type> attribute is updated by setting the <element_type_def> attribute. Setting the bound or <element_type_def> attribute also updates the <element_type> attribute.

ArrayDef Parameters

<length>
Specifies the number of elements in the array.

<element_type>
Specifies the type of the elements in the array.

<element_type_def>
Identifies the elements in the array.

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.